10 references to AddObject
System.Data.Entity (3)
System\Data\Objects\ObjectSet.cs (1)
82
this.Context.
AddObject
(FullyQualifiedEntitySetName, entity);
System\Data\Objects\ObjectViewQueryResultData.cs (2)
160
_objectContext.
AddObject
(TypeHelpers.GetFullName(_entitySet), item);
175
_objectContext.
AddObject
(TypeHelpers.GetFullName(_entitySet), item);
System.Data.Services (3)
System\Data\Services\Providers\ObjectContextServiceProvider.cs (3)
362
this.ObjectContext.
AddObject
(containerName, resource);
448
this.ObjectContext.
AddObject
(this.GetEntitySetName(objectStateEntry), newInstance);
559
this.ObjectContext.
AddObject
(entitySetName, objectToBeReplaced.Value);
System.Web.Entity (4)
System\Data\WebControls\EntityDataSourceView.cs (4)
479
Context.
AddObject
(_owner.FQEntitySetName, entity);
606
Context.
AddObject
(_owner.FQEntitySetName, entity); // Add/AcceptAllChanges because wrappers must contain attached entities
683
Context.
AddObject
(_owner.FQEntitySetName, entity);
709
Context.
AddObject
(_owner.EntitySetName, changingArgs.Entity);