Свойство | Тип | Описание | |
---|---|---|---|
DeferOwnerDetection | void | ||
GetEntityState | System.Data.EntityState | ||
GetProperty | |||
RaiseOnSave | void |
Метод | Описание | |
---|---|---|
GetObjectContext ( ) : IEntityContext |
Gets or creates the object context for the current scope of work that corresponds to the current EntityModelType.
|
Метод | Описание | |
---|---|---|
ConvertToList ( ModelReferenceProperty property, object list ) : System.Collections.IList | ||
EntityModelType ( string @namespace, |
||
GetEligibleProperties ( ) : IEnumerable |
Override to ensure that entity key properties are excluded from the model.
|
|
GetId ( object instance ) : string |
Gets the string identifier of the specified instance.
|
|
GetInstance ( string id ) : object |
Gets or creates the instance for the specified id.
|
|
GetIsDeleted ( object instance ) : bool |
Gets the deletion status of the specified instance indicating whether the instance has been permanently deleted.
|
|
GetIsModified ( object instance ) : bool |
Gets the underlying modification status of the specified instance, indicating whether the instance has pending changes that have not been persisted.
|
|
GetIsPendingDelete ( object instance ) : bool |
Indicates whether the specified instance is pending deletion.
|
|
InitializeList ( ModelInstance instance, ModelReferenceProperty property ) : void |
Initializes null list properties when updated via a call to ModelInstanceList.Add or ModelInstanceList.Update.
|
|
OnInit ( ) : void |
Performs initialization of the model type outside of the constructor to avoid recursion deadlocks.
|
|
SaveInstance ( ModelInstance modelInstance ) : void | ||
SetIsPendingDelete ( object instance, bool isPendingDelete ) : void |
Sets whether the specified instance is pending deletion.
|
Метод | Описание | |
---|---|---|
DeferOwnerDetection ( ModelType type, EntityReferenceProperty property, System.Data.Metadata.Edm.NavigationProperty oneNavProp ) : void | ||
GetEntityState ( object instance ) : System.Data.EntityState |
Gets the EntityState of the specified instance.
|
|
GetProperty ( |
||
RaiseOnSave ( ModelInstance instance ) : void |
protected ConvertToList ( ModelReferenceProperty property, object list ) : System.Collections.IList | ||
property | ModelReferenceProperty | |
list | object | |
Результат | System.Collections.IList |
protected EntityModelType ( string @namespace, |
||
@namespace | string | |
type | ||
scope | string | |
format | string | |
Результат | System |
protected GetEligibleProperties ( ) : IEnumerable |
||
Результат | IEnumerable |
protected GetId ( object instance ) : string | ||
instance | object | |
Результат | string |
protected GetInstance ( string id ) : object | ||
id | string | The identifier of an existing instance, or null to create a new instance |
Результат | object |
protected GetIsDeleted ( object instance ) : bool | ||
instance | object | |
Результат | bool |
protected GetIsModified ( object instance ) : bool | ||
instance | object | |
Результат | bool |
protected GetIsPendingDelete ( object instance ) : bool | ||
instance | object | |
Результат | bool |
public GetObjectContext ( ) : IEntityContext | ||
Результат | IEntityContext |
protected InitializeList ( ModelInstance instance, ModelReferenceProperty property ) : void | ||
instance | ModelInstance | |
property | ModelReferenceProperty | |
Результат | void |
protected SaveInstance ( ModelInstance modelInstance ) : void | ||
modelInstance | ModelInstance | |
Результат | void |
protected SetIsPendingDelete ( object instance, bool isPendingDelete ) : void | ||
instance | object | |
isPendingDelete | bool | |
Результат | void |