Свойство | Type | Description | |
---|---|---|---|
DesetupSyncAspnetApplication | void | ||
DesetupSyncAspnetUser | void | ||
GetObjectData | void | ||
GetRelationsForField | RelationCollection | ||
InitClassEmpty | void | ||
InitClassMembers | void | ||
OnAspnetApplicationPropertyChanged | void | ||
OnAspnetUserPropertyChanged | void | ||
PollEntity | System.Runtime.Serialization | ||
PollEntity | System.Runtime.Serialization | ||
SetupCustomPropertyHashtables | void | ||
SetupSyncAspnetApplication | void | ||
SetupSyncAspnetUser | void |
Méthode | Description | |
---|---|---|
GetRelationInfoAspnetApplication ( ) : IRelationPredicateBucket |
Creates a new IRelationPredicateBucket object which contains the predicate expression and relation collection to fetch the related entity of type 'AspnetApplications' to this entity.
|
|
GetRelationInfoAspnetUser ( ) : IRelationPredicateBucket |
Creates a new IRelationPredicateBucket object which contains the predicate expression and relation collection to fetch the related entity of type 'AspnetUsers' to this entity.
|
|
GetRelationInfoPollAnswers ( ) : IRelationPredicateBucket |
Creates a new IRelationPredicateBucket object which contains the predicate expression and relation collection to fetch the related entities of type 'PollAnswer' to this entity.
|
|
GetRelationInfoPollLocalizations ( ) : IRelationPredicateBucket |
Creates a new IRelationPredicateBucket object which contains the predicate expression and relation collection to fetch the related entities of type 'PollLocalization' to this entity.
|
|
GetRelationInfoSnRelationshipss ( ) : IRelationPredicateBucket |
Creates a new IRelationPredicateBucket object which contains the predicate expression and relation collection to fetch the related entities of type 'SnRelationship' to this entity.
|
|
PollEntity ( IEntityFields2 fields ) : System.Runtime.Serialization |
CTor For framework usage. |
|
PollEntity ( IValidator validator ) : System.Runtime.Serialization |
CTor
|
|
PollEntity ( System id ) : System.Runtime.Serialization |
CTor The entity is not fetched by this constructor. Use a DataAccessAdapter for that. |
|
PollEntity ( System id, IValidator validator ) : System.Runtime.Serialization |
CTor The entity is not fetched by this constructor. Use a DataAccessAdapter for that. |
Méthode | Description | |
---|---|---|
AddToMemberEntityCollectionsQueue ( Queue |
Adds the member collections to the collections queue (base first)
|
|
CheckOneWayRelations ( string propertyName ) : bool |
Checks if the relation mapped by the property with the name specified is a one way / single sided relation. If the passed in name is null, it/ will return true if the entity has any single-sided relation
|
|
CreateEntityFactory ( ) : IEntityFactory2 |
Creates a new instance of the factory related to this entity
|
|
CreateMemberEntityCollectionsQueue ( Queue |
Creates the member entity collections queue.
|
|
GetAllRelations ( ) : List |
Gets a list of all the EntityRelation objects the type of this instance has.
|
|
GetDependentRelatedEntities ( ) : List |
Gets a collection of related entities referenced by this entity which this entity depends on (this entity is the FK side of their PK fields). These entities will have to be persisted before this entity during a recursive save.
|
|
GetDependingRelatedEntities ( ) : List |
Gets a collection of related entities referenced by this entity which depend on this entity (this entity is the PK side of their FK fields). These entities will have to be persisted after this entity during a recursive save.
|
|
GetFromMemberEntityCollectionsQueue ( Queue |
Gets the member collections queue from the queue (base first)
|
|
GetMemberEntityCollections ( ) : List |
Gets a list of all entity collections stored as member variables in this entity. Only 1:n related collections are returned.
|
|
GetRelatedData ( ) : object>.Dictionary |
Gets all related data objects, stored by name. The name is the field name mapped onto the relation for that particular data element.
|
|
GetRelationsForFieldOfType ( string fieldName ) : RelationCollection |
Gets the relation objects which represent the relation the fieldName specified is mapped on.
|
|
HasPopulatedMemberEntityCollections ( ) : bool |
Determines whether the entity has populated member collections
|
|
PerformDesyncSetupFKFieldChange ( int fieldIndex ) : void |
Performs the desync setup when an FK field has been changed. The entity referenced based on the FK field will be dereferenced and sync info will be removed.
|
|
SetRelatedEntity ( IEntityCore relatedEntity, string fieldName ) : void |
Sets the internal parameter related to the fieldname passed to the instance relatedEntity.
|
|
SetRelatedEntityProperty ( string propertyName, IEntityCore entity ) : void |
Sets the related entity property to the entity specified. If the property is a collection, it will add the entity specified to that collection. Used by prefetch path logic. |
|
UnsetRelatedEntity ( IEntityCore relatedEntity, string fieldName, bool signalRelatedEntityManyToOne ) : void |
Unsets the internal parameter related to the fieldname passed to the instance relatedEntity. Reverses the actions taken by SetRelatedEntity()
|
Méthode | Description | |
---|---|---|
DesetupSyncAspnetApplication ( bool signalRelatedEntity, bool resetFKFields ) : void |
Removes the sync logic for member _aspnetApplication
|
|
DesetupSyncAspnetUser ( bool signalRelatedEntity, bool resetFKFields ) : void |
Removes the sync logic for member _aspnetUser
|
|
GetObjectData ( |
||
GetRelationsForField ( string fieldName ) : RelationCollection |
Gets the relation objects which represent the relation the fieldName specified is mapped on.
|
|
InitClassEmpty ( IValidator validator, IEntityFields2 fields ) : void |
Initializes the class with empty data, as if it is a new Entity.
|
|
InitClassMembers ( ) : void |
Initializes the class members
|
|
OnAspnetApplicationPropertyChanged ( object sender, |
Handles property change events of properties in a related entity.
|
|
OnAspnetUserPropertyChanged ( object sender, |
Handles property change events of properties in a related entity.
|
|
PollEntity ( ) : System.Runtime.Serialization |
Static CTor for setting up custom property hashtables. Is executed before the first instance of this entity class or derived classes is constructed.
|
|
PollEntity ( |
||
SetupCustomPropertyHashtables ( ) : void |
Initializes the hashtables for the entity type and entity field custom properties.
|
|
SetupSyncAspnetApplication ( IEntityCore relatedEntity ) : void |
setups the sync logic for member _aspnetApplication
|
|
SetupSyncAspnetUser ( IEntityCore relatedEntity ) : void |
setups the sync logic for member _aspnetUser
|
protected AddToMemberEntityCollectionsQueue ( Queue |
||
collectionsQueue | Queue |
The collections queue. |
Résultat | void |
protected CheckOneWayRelations ( string propertyName ) : bool | ||
propertyName | string | Name of the property which is mapped onto the relation to check, or null to check if the entity has any relation/ which is single sided |
Résultat | bool |
protected CreateEntityFactory ( ) : IEntityFactory2 | ||
Résultat | IEntityFactory2 |
protected CreateMemberEntityCollectionsQueue ( Queue |
||
collectionsQueue | Queue |
The collections queue. |
requiredQueue | Queue |
The required queue. |
Résultat | void |
protected GetDependentRelatedEntities ( ) : List |
||
Résultat | List |
protected GetDependingRelatedEntities ( ) : List |
||
Résultat | List |
protected GetFromMemberEntityCollectionsQueue ( Queue |
||
collectionsQueue | Queue |
The collections queue. |
Résultat | void |
protected GetMemberEntityCollections ( ) : List |
||
Résultat | List |
protected GetRelatedData ( ) : object>.Dictionary |
||
Résultat | object>.Dictionary |
public GetRelationInfoAspnetApplication ( ) : IRelationPredicateBucket | ||
Résultat | IRelationPredicateBucket |
public GetRelationInfoAspnetUser ( ) : IRelationPredicateBucket | ||
Résultat | IRelationPredicateBucket |
public GetRelationInfoPollAnswers ( ) : IRelationPredicateBucket | ||
Résultat | IRelationPredicateBucket |
public GetRelationInfoPollLocalizations ( ) : IRelationPredicateBucket | ||
Résultat | IRelationPredicateBucket |
public GetRelationInfoSnRelationshipss ( ) : IRelationPredicateBucket | ||
Résultat | IRelationPredicateBucket |
protected GetRelationsForFieldOfType ( string fieldName ) : RelationCollection | ||
fieldName | string | Name of the field mapped onto the relation of which the relation objects have to be obtained. |
Résultat | RelationCollection |
protected HasPopulatedMemberEntityCollections ( ) : bool | ||
Résultat | bool |
protected PerformDesyncSetupFKFieldChange ( int fieldIndex ) : void | ||
fieldIndex | int | The fieldindex. |
Résultat | void |
public PollEntity ( IEntityFields2 fields ) : System.Runtime.Serialization | ||
fields | IEntityFields2 | Fields object to set as the fields for this entity. |
Résultat | System.Runtime.Serialization |
public PollEntity ( IValidator validator ) : System.Runtime.Serialization | ||
validator | IValidator | The custom validator object for this PollEntity |
Résultat | System.Runtime.Serialization |
public PollEntity ( System id ) : System.Runtime.Serialization | ||
id | System | PK value for Poll which data should be fetched into this Poll object |
Résultat | System.Runtime.Serialization |
public PollEntity ( System id, IValidator validator ) : System.Runtime.Serialization | ||
id | System | PK value for Poll which data should be fetched into this Poll object |
validator | IValidator | The custom validator object for this PollEntity |
Résultat | System.Runtime.Serialization |
protected SetRelatedEntity ( IEntityCore relatedEntity, string fieldName ) : void | ||
relatedEntity | IEntityCore | Instance to set as the related entity of type entityType |
fieldName | string | Name of field mapped onto the relation which resolves in the instance relatedEntity |
Résultat | void |
protected SetRelatedEntityProperty ( string propertyName, IEntityCore entity ) : void | ||
propertyName | string | Name of the property. |
entity | IEntityCore | Entity to set as an related entity |
Résultat | void |
protected UnsetRelatedEntity ( IEntityCore relatedEntity, string fieldName, bool signalRelatedEntityManyToOne ) : void | ||
relatedEntity | IEntityCore | Instance to unset as the related entity of type entityType |
fieldName | string | Name of field mapped onto the relation which resolves in the instance relatedEntity |
signalRelatedEntityManyToOne | bool | if set to true it will notify the manytoone side, if applicable. |
Résultat | void |