EntityCoreTFields Methods |
The EntityCoreTFields generic type exposes the following members.
Name | Description | |
---|---|---|
AddInternalsToContext |
Adds the internals to context.
| |
CheckForRefetch |
Will check if the entity should refetch itself. Will use the factory pattern trick.
Refetching occurs when the fields are marked OutOfSync and thus not dirty.
| |
CheckIfCurrentFieldValueIsNull | Obsolete.
Checks if the current value of the field on the index specified is null / not defined.
| |
CheckIfIsSubTypeOf | Determines whether this entity is a subType of the entity represented by the passed in enum value, which represents a value in the EntityType enum | |
CreateAuditor |
Creates the auditor object for this entity. Routine is called when the entity is constructed. Implement in an entity
class to set a particular entity auditor object at construction time. Use this method if you don't want to use
LLBLGen Pro's build in dependency injection mechanism.
| |
CreateAuthorizer |
Creates the authorizer object for this entity. Routine is called when the entity is constructed. Implement in an entity
class to set a particular entity authorizer object at construction time. Use this method if you don't want to use
LLBLGen Pro's build in dependency injection mechanism.
| |
CreateConcurrencyPredicateFactory |
Creates the concurrency predicate factory for this entity. Routine is called from the entity constructor. Implement in an entity
class to set a particular ConcurrentyPredicateFactory object at construction time. Use this method if you don't want to use
LLBLGen Pro's build in dependency injection mechanism.
| |
CreateEntityFactoryCore |
Creates a new entity factory instance related to this entity.
| |
CreateFields | Creates entity fields object for this entity. Used in constructor to setup this entity in a polymorphic scenario. | |
CreateTypeDefaultValueProvider |
Creates the ITypeDefaultValue instance used to provide default values for value types which aren't of type nullable(of T)
| |
CreateValidator |
Creates the validator object for this entity. Routine is called when the entity is constructed. Implement in an entity
class to set a particular entity validator object at construction time. Use this method if you don't want to use
LLBLGen Pro's build in dependency injection mechanism.
| |
DeserializeEntityCoreData |
Private CTor for deserialization
| |
DesetupSync |
Destructs the synchronization setup between the related entity and this entity, related over the member specified.
| |
DiscardSavedFields |
Removes all saved field sets from the internal hashtable, clearing up space. This method is also called when
an entity is saved.
| |
Entity2Xml |
Produces the actual XML for this entity, recursively. Because it recurses through referenced entities, it keeps track of which objects are processed
so cyclic references are not resulting in cyclic recursion and thus a crash.
| |
Equals |
Compares passed in object with the given object. This is a compare of PK fields. These have to be the same in VALUES.
When the values are not the same, or the type is not the same as the current type, false is returned, true otherwise.
When this doesn't have any PK fields, all fields are compared. null values are considered as the same value.
(Overrides ObjectEquals(Object).) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
FixupDeserialization(IFieldInfoProvider) |
Fixes deserialization empty references, because fieldinfo isn't serialized into the data.
| |
FixupDeserialization(IFieldInfoProvider, IPersistenceInfoProvider) |
Fixes deserialization empty references, because fieldinfo isn't serialized into the data.
| |
FlagAllFieldsAsChanged |
A method to call OnPropertyChanged for all fields to signal to bound controls that all fields have been changed.
| |
GetAdditionalRelatedData |
Gets the additional related data, next to the data returned by GetRelatedData. This method appends the additional related data to
the passed in toAppendTo dictionary. Key is the property name, value is the entity object or entity collection represented by the property.
| |
GetAllRelations |
Gets a list of all the EntityRelation objects the type of this instance has.
| |
GetConcurrencyPredicate |
Creates the requested predicate of the type specified. If no IConcurrencyPredicateFactory instance is stored in this entity instance, null
is returned.
| |
GetCurrentFieldValue |
Gets the current value of the EntityField2 with the index fieldIndex.
| |
GetDependentRelatedEntitiesT |
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.
| |
GetDependentRelatedEntityCoreInstances |
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.
| |
GetDependingRelatedEntitiesT |
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.
| |
GetDependingRelatedEntityCoreInstances |
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.
| |
GetEntityDescription |
Gets the entity description. This string is used in verbose trace messages.
It will produce "EntityCore", if verbose tracing is switched off for the GeneralSwitch, to prevent performance loss due to
reflection activity for trace results which will never be seen.
| |
GetEntityStaticMetaData |
Gets the entity static meta data instance from the generated type.
| |
GetEntitySyncInformation |
Will retrieve all stored entity synchronization information for the passed in entity. If no information is
stored, an empty hashtable is returned. All sync info is stored by fieldname
| |
GetEntityTypeValue |
Gets the EntityType value as int for this entity.
| |
GetHashCode |
Overrides the GetHashCode method. It will calculate a hashcode for this entity using the eXclusive OR of the
hashcodes of the primary key fields in this entity. That hashcode is returned. If no primary key fields are present,
the hashcode of the base class is returned, which will not be unique.
(Overrides ObjectGetHashCode.) | |
GetInheritanceInfoProvider | Gets the inheritance info provider instance of the project this entity instance is located in. | |
GetMemberEntityCollectionCoreInstances |
Gets a list of all entity collections stored as member variables in this entity. The contents of the list is
used by the DataAccessAdapter to perform recursive saves. Only 1:n related collections are returned.
| |
GetObjectData |
ISerializable member. Does custom serialization so event handlers do not get serialized.
| |
GetRelatedData |
Gets all related data objects, stored by name. The name is the field name mapped onto the relation for that particular data element.
| |
GetRelationsForFieldOfType | Gets the relation objects which represent the relation the fieldName specified is mapped on. | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetValue |
Gets the value of the field with the index specified.
| |
MarkFieldsAsDirty |
Marks the fields as dirty.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnAuditDeleteOfEntity |
Audits the successful delete of an entity from the database
| |
OnAuditDereferenceOfRelatedEntity |
Audits the successful dereference of related entity from the entity passed in.
| |
OnAuditDirectDeleteOfEntities |
Audits the successful direct delete of entities in the database
| |
OnAuditDirectUpdateOfEntities |
Audits the succesful direct update of entities in the database.
| |
OnAuditEntityFieldGet |
Audits when an entity field's value is succesfully obtained from the passed in entity
| |
OnAuditEntityFieldSet |
Audits when an entity field is set succesfully to a new value.
| |
OnAuditInsertOfNewEntity |
Audits the successful insert of a new entity into the database.
| |
OnAuditLoadOfEntity |
Audits the successful load of an entity from the database
| |
OnAuditReferenceOfRelatedEntity |
Audits the successful reference of related entity from the entity passed in.
| |
OnAuditUpdateOfExistingEntity |
Audits the successful update of an existing entity in the database
| |
OnBeforeEntitySave |
This method is called from the DataAccessAdapter method OnBeforeEntitySave(), unless that method is overriden. You can override
this OnSave method instead, which allows you to make last minute changes, though keep the logic to do that in the entity.
| |
OnBeginEdit |
Called after BeginEdit is succesfully called.
| |
OnCanBatchDeleteEntitiesDirectly |
Method which will check if the caller is allowed to delete entities directly in the database.
| |
OnCanBatchUpdateEntitiesDirectly |
Method which will check if the caller is allowed to update entities directly in the database.
| |
OnCancelEdit |
Called after CancelEdit is succesfully called.
| |
OnCanDeleteEntity |
Method which will check if the caller is allowed to delete this existing entity object
| |
OnCanGetFieldValue |
Method which will check if the caller is allowed to get the field value with the index specified.
| |
OnCanLoadEntity |
Method which will check if the caller is allowed to fill this entity object with entity data from the database or not.
| |
OnCanSaveExistingEntity |
Method which will check if the caller is allowed to save this existing entity object
| |
OnCanSaveNewEntity |
Method which will check if the caller is allowed to save this new entity object
| |
OnCanSetFieldValue |
Method which will check if the caller is allowed to set the field value with the index specified.
| |
OnDeserialized |
Called at the end of the deserialization constructor. Method is used when this object is deserialized. Override this method to
tap into the deserialization sequence. (binary/soap formatter specific).
| |
OnEndEdit |
Called after EndEdit is succesfully called.
| |
OnEntityAfterSave | Event handler which is called by a related entity after that entity is persisted. | |
OnEntityContentsChanged |
Called when the entity's contents has been changed.
| |
OnFieldValueChanged |
Method which is called right after a field's value has been changed. There are a couple of methods called in the process of setting a
field's value. This particular method is solely there to act on a field's value set action. It doesn't
raise an event, though it receives the old and new value of the field. Not called if a fieldvalue set action failed. This method is
called before changed events are raised.
| |
OnGetFetchNewAuthorizationFailureResultHint |
Returns the FetchNewAuthorizationFailureResultHint as returned by the authorizer. Only called when the CanGetLoad failed (authorization failed, so load was denied)
| |
OnGetObjectData |
Called at the end of GetObjectData. Method is used when this object is serialized. Override this method to
tap into the serialization sequence. (binary/soap formatter specific).
| |
OnGetValue |
Called right at the beginning of GetValue(), which is called from an entity field property getter
| |
OnGetValueComplete |
Called right at the end of GetValue(), which is called from an entity field property getter
| |
OnInitClassMembersComplete |
Called when InitClassMembers is complete.
| |
OnInitialized |
Called at the end of the initialization method. Raises Initialized event.
| |
OnInitializing |
Called at the start of the initialization method. Raises Initializing event.
| |
OnPropertyChanged |
Called when a property changed value. Call this method to signal databound controls a property has changed.
| |
OnRelatedEntitySet |
Method which is called at the end of the SetRelatedEntity() method. Usable to act on the fact that a related entity has been set.
| |
OnRelatedEntityUnset |
Method which is called at the end of the UnsetRelatedEntity() method. Usable to act on the fact that an entity has been
dereferenced as a related entity by the containing entity.
| |
OnRequiresTransactionForAuditEntities |
Method which returns true if this auditor expects to have audit entities to persist and therefore needs a transaction.
This method is called in the situation when there's no transaction going on though one should be started right before the single-statement action
in the case if the auditor has entities to save afterwards. It's recommended to return true if the auditor might have audit entities
to persist after an entity save/delete/direct update/direct delete of entities. Default: false
| |
OnSetRelatedEntityProperty |
Method which is called in the default clause of the SetRelatedEntityProperty method during the merge process of prefetch path fetches.
| |
OnSetValue |
Called right at the beginning of SetValue(), which is called from an entity field property setter
| |
OnSetValueComplete |
Called right at the end of SetValue(), which is called from an entity field property setter
| |
OnTransactionCommit |
Called after the TransactionCommit method has been finished.
| |
OnTransactionRollback |
Called after the TransactionRollback method has been finished.
| |
OnValidateEntityAfterLoad |
Method to validate the containing entity after it is loaded. This method is called after the entity has been fully loaded.
| |
OnValidateEntityAfterSave |
Method to validate the containing entity right after the entity's save action has been completed and the entity has been refetched (if applicable).
Note for adapter users: if the entity wasn't set to be refetched, take into account that reading properties from the containing entity will result in an
OutOfSync exception.
| |
OnValidateEntityBeforeDelete |
Method to validate the containig entity right beforethe entity's delete action will take place.
| |
OnValidateEntityBeforeSave |
Method to validate the containing entity right before the save sequence for the entity will start. LLBLGen Pro will call this method right after the
containing entity is selected from the save queue to be saved.
| |
OnValidateFieldValue |
Method which will validate, using custom code supplied this class, the field with index fieldIndex if it should accept
the specified value. This method is only called when standard checks already succeeded, so value isn't null, and value does match the
destination column definition of the EntityField related to fieldIndex.
| |
PerformCustomXmlDeserialization |
Performs custom XML deserialization for properties which have the CustomXmlSerializationAttribute.
The xmlreader should be used to read the xml from. The reader is positioned on the StartElement of the property which has the name of the property.
Check if the element is empty and if not, read till the reader is positioned on the EndElement of the property (which also has the same name).
Your override has to set the property's value, using the descriptor's SetValue method.
| |
PerformCustomXmlSerialization |
Performs custom XML serialization for properties which have the CustomXmlSerializationAttribute.
Override this method if for some property the data has to be serialized into the output.
The xmlwriter should be used to write xml to. You shouldn't emit a startelement with the propertyname, that's already done. Also
you shouldn't emit an endelement with the propertyname, that will be done for you. Simply emit XML with the data. Be sure the xml
data is valid. You can use the XmlHelper class if necessary.
| |
PerformDependencyInjection |
Performs the dependency injection of related objects. This method will call the Create* methods to create validator, concurrency predicate factory
and will then kick in the DependencyInjection functionality build into LLBLGen Pro.
This method is called at the end of an entity's InitClassMembers method in the generated code.
| |
PerformDesyncSetupFKFieldChange |
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.
| |
PerformPostReadXmlFixups |
Routine which is used to perform tasks after a ReadXml() action on this entity instance was performed
| |
PerformRelatedEntityRemoval |
Performs the related entity removal.
| |
PostFieldValueSetAction |
Method to perform post-fieldvalue set actions, like flagging this object as changed.
| |
PostProcessValueToGet |
Post-processes the value to return from GetValue. Override this method to be able to post-process any value to return from an entity field's property.
| |
PreProcessValueToSet |
Method which is meant to be overriden to pre-process a value right before it is set as a field's new value. In general you don't need to override
this method. By default it's a no-op.
| |
ReadXml(String) |
Will fill the entity and its containing members (recursively) with the data stored in the XmlNode passed in. The XmlNode has to
be filled with Xml in the format written by IEntityCore.WriteXml() and the Xml has to be compatible with the structure of this entity collection.
| |
ReadXml(XmlNode) |
Will fill the entity and its containing members (recursively) with the data stored in the XmlNode passed in. The XmlNode has to
be filled with Xml in the format written by IEntityCore.WriteXml() and the Xml has to be compatible with the structure of this entity collection.
| |
ReadXml(XmlReader) |
Constructs an object graph with this object as the root from the xml contained by the passed in XmlReader object.
| |
ReadXml(XmlNode, XmlFormatAspect) |
Will fill the entity and its containing members (recursively) with the data stored in the XmlNode passed in. The XmlNode has to
be filled with Xml in the format written by IEntityCore.WriteXml() and the Xml has to be compatible with the structure of this entity collection.
| |
ReadXml(XmlReader, XmlFormatAspect) |
Constructs an object graph with this object as the root from the xml contained by the passed in XmlReader object.
| |
ReadXmlExplicitImpl |
Constructs an object graph with this object as the root from the xml contained by the passed in XmlReader object. The method which is called from
the explicit implementation of IXmlSerializable.ReadXml(reader).
| |
RemoveFromParentCollection |
Removes this instance from the parent collection (if present), to which it was added through databinding
| |
RollbackFields |
Replaces the current set of fields with the fields saved under the name specified. If no set of fields is found with the name specified
an exception is thrown. Removes the entry after a succesful rollback.
| |
SaveFields |
Saves the current set of fields under the name specified in an internal hashtable. All data inside the field objects is preserved.
If there is already a set of fields saved under the name specified, that set of fields is overwritten.
| |
SetAlreadyFetchedValueForNavigator |
Sets the _alreadyFetched*Navigatorname* flag for the navigator specified to the value specified.
| |
SetDiscriminatorFlagIfRequired |
Sets the discriminator flag if required.
| |
SetEntityError |
Sets the error message which is returned by IDataErrorInfo.Error
| |
SetEntityFieldError |
Sets the error message for the field specified. If there's already a message stored for this field, it's overwritten unless append is
set to true, which appends the message to the existing error using a semi-colon as separator. The message stored
is returned by IDataErrorInfo[fieldName];
| |
SetEntitySyncInformation |
Will set the passed in information as Entity sync information. If there is no sync information stored yet for the related entity
then a new entry is created, otherwise it's info is added to the sync information of this entity, if it isn't already present.
If there is already sync information for this field stored for another related entity, that information is removed.
| |
SetNewFieldValue(Int32, Object) |
Sets the EntityField2 on index fieldIndex to the new value value. Marks also the entityfields2 as dirty.
| |
SetNewFieldValue(String, Object) |
Sets the EntityField with the name fieldName to the new value value. Marks also the entityfields as dirty. Will refetch the complete entity's fields
from the database if necessary (i.e. the entity is outofsync.).
| |
SetNewFieldValue(Int32, Object, Boolean) | Obsolete.
Sets the Entity Field on index fieldIndex to the new value value. Marks also the entityfields2 as dirty.
| |
SetRelatedEntity |
Sets the internal parameter related to the fieldname passed to the instance relatedEntity.
| |
SetRelatedEntityProperty |
Sets the related entity property to the entity specified. If the property is a collection, it will add the entity specified to that collection.
| |
SetupSyncT |
Sets up the synchronization between the related entity and this entity, related over the member specified.
| |
SetValue(Int32, Object) |
Sets the value of the field with the index specified to the value specified.
| |
SetValue(Int32, Object, Boolean) |
Sets the EntityField on index fieldIndex to the new value value. Marks also the entityfields as dirty. Will refetch the complete entity's fields
from the database if necessary (i.e. the entity is outofsync.).
| |
SetValue(Int32, Object, Boolean, Boolean) |
Sets the value of the field with the index specified to the value specified.
| |
SyncFKFields |
Synchronizes the PK values of the dataSupplier with the related FK values of this entity.
| |
TestCurrentFieldValueForNull | Obsolete. Returns true if the current value for the field with the fieldIndex passed in represents null/not defined, false otherwise.
Should not be used for testing if the original value (read from the db) is NULL | |
TestOriginalFieldValueForNull | Returns true if the original value for the field with the fieldIndex passed in, read from the persistent storage was NULL, false otherwise.
Should not be used for testing if the current value is NULL, use TestCurrentFieldValueForNull(Enum) for that. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
UnsetEntitySyncInformation |
Will unset (remove) the passed in information as Entity sync information. If there is no sync information stored for the related entity
after this info has been removed, the complete hashentry is removed.
| |
UnsetRelatedEntity |
Unsets the internal parameter related to the fieldname passed to the instance relatedEntity. Reverses the actions taken by SetRelatedEntity()
| |
Validate | Obsolete.
Method to keep code compilable however which is now marked as obsolete, as people should call ValidateEntity.
| |
ValidateEntity |
General validation method which isn't used by the LLBLGen Pro framework, but can be used by your own code to validate an entity at any given moment.
| |
WriteXml(String) |
Converts this entity to XML, recursively. Uses the LLBLGenProEntityName for the rootnode name
| |
WriteXml(XmlWriter) |
Constructs the XML output from the object graph which has this object as the root.
| |
WriteXml(String, String) |
Converts this entity to XML, recursively.
| |
WriteXml(XmlDocument, XmlNode) |
Converts this entity to XML, recursively. Uses the LLBLGenProEntityName for the rootnode name
| |
WriteXml(XmlWriter, XmlFormatAspect) |
Converts this entity to XML
| |
WriteXml(XmlFormatAspect, String) |
Converts this entity to XML, recursively. Uses the LLBLGenProEntityName for the rootnode name
| |
WriteXml(String, XmlDocument, XmlNode) |
Converts this entity to XML, recursively.
| |
WriteXml(XmlWriter, XmlFormatAspect, String) |
Converts this entity to XML
| |
WriteXml(XmlFormatAspect, String, String) |
Converts this entity to XML, recursively.
| |
WriteXml(XmlFormatAspect, XmlDocument, XmlNode) |
Converts this entity to XML, recursively. Uses the LLBLGenProEntityName for the rootnode name
| |
WriteXml(XmlWriter, XmlFormatAspect, String, DictionaryGuid, IEntityCore) |
Converts this entity to XML
| |
WriteXml(XmlFormatAspect, String, XmlDocument, XmlNode) |
Converts this entity to XML, recursively.
| |
Xml2Entity(XmlNode, DictionaryGuid, IEntityCore, ListNodeEntityReference) |
Performs the actual conversion from Xml to entity data.
| |
Xml2Entity(XmlReader, DictionaryGuid, IEntityCore, ListNodeEntityReference) |
Performs the actual conversion from Xml to entity data.
|
Name | Description | |
---|---|---|
IEditableObjectBeginEdit |
Begins an edit on an object.
| |
IEditableObjectCancelEdit |
Discards changes since the last BeginEdit call.
| |
IEditableObjectEndEdit | ||
ISerializableGetObjectData |
Populates a SerializationInfo with the data needed to serialize the target object.
| |
IXmlSerializableGetSchema |
Produce the schema, always return null, as the XmlSerializer object otherwise can't handle our code.
| |
IDeserializationCallbackOnDeserialization |
Runs when the entire object graph has been deserialized.
| |
IXmlSerializableReadXml |
Constructs an object graph with this object as the root from the xml contained by the passed in XmlReader object.
| |
IEntityCoreAcceptChanges |
Accepts the changes made to the fields. Used in databinding/service scenarios. Calls AcceptChanges on the fields in this entity
| |
IEntityCoreCheckIfEntityHasPendingFkSyncsTEntity |
Checks whether this instance has pending fk syncs. A pending FK sync is a sync which hasn't been used yet.
If an entity has pending FK syncs, it has to be included into a save queue. Only syncs with entities in the passed in queue are considered.
If a sync is with an entity which isn't in the passed in queue, the sync isn't honoured anyway, so the fk sync can be ignored.
| |
IEntityCoreCheckIfIsSubTypeOf |
Determines whether this entity is a subType of the entity represented by the passed in enum value, which represents a value in the EntityType enum
| |
IEntityCoreDiscardSavedFields |
Removes all saved field sets from the internal hashtable, clearing up space. This method is also called when
an entity is saved.
| |
IEntityCoreFlagAsSaved |
Flags me as saved.
| |
IEntityCoreFlagMeAsChanged |
Routine which will flag all subscribers of the EntityContentsChanged event that this entity's contents is changed.
| |
IEntityCoreGetAllRelations |
Gets a list of all the EntityRelation objects the type of this instance has.
| |
IEntityCoreGetConcurrencyPredicate |
Creates the requested predicate of the type specified. If no IConcurrencyPredicateFactory instance is stored in this entity instance, null
is returned.
| |
IEntityCoreGetDependentRelatedEntities |
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.
| |
IEntityCoreGetDependingRelatedEntities |
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.
| |
IEntityCoreGetEntityDescription(Boolean) |
Gets the entity description. This string is used in verbose trace messages.
It will produce "EntityCore", if the passed in switch flag is false, to prevent performance loss due to
reflection activity for trace results which will never be seen.
| |
IEntityCoreGetEntityDescription(Boolean, IEntityCore) |
Gets the entity description. This string is used in verbose trace messages.
It will produce "EntityCore", if verbose tracing is switched off for the GeneralSwitch, to prevent performance loss due to
reflection activity for trace results which will never be seen.
| |
IEntityCoreGetEntityFactory |
Returns a new ready to use factory for the type of this instance.
| |
IEntityCoreGetFieldByName |
Helper method which performs a lookup in the fields based on the name specified.
| |
IEntityCoreGetInheritanceInfo |
Gets the inheritance info for this entity, if applicable (it's then overriden) or null if not.
| |
IEntityCoreGetInheritanceInfoProvider | Gets the inheritance info provider instance of the project this entity instance is located in. | |
IEntityCoreGetMemberEntityCollections |
Gets a list of all entity collections stored as member variables in this entity. The contents of the list is
used by the DataAccessAdapter to perform recursive saves. Only 1:n related collections are returned.
| |
IEntityCoreGetRelatedData |
Gets all related data objects, stored by name. The name is the field name mapped onto the relation for that particular data element.
| |
IEntityCoreGetRelationsForFieldOfType |
Gets the relation objects which represent the relation the fieldName specified is mapped on.
| |
IEntityCoreRejectChanges |
Rejects the changes made to the fields. Used in databinding/service scenarios. Calls RejectChanges on the fields in this entity
| |
IEntityCoreRollbackFields |
Replaces the current set of fields with the fields saved under the name specified. If no set of fields is found with the name specified
an exception is thrown. Removes the entry after a succesful rollback.
| |
IEntityCoreSaveFields |
Saves the current set of fields under the name specified in an internal hashtable. All data inside the field objects is preserved.
If there is already a set of fields saved under the name specified, that set of fields is overwritten.
| |
IEntityCoreSetRelatedEntity |
Sets the internal parameter related to the fieldname passed to the instance relatedEntity.
| |
IEntityCoreSetRelatedEntityProperty |
Sets the related entity property to the entity specified. If the property is a collection, it will add the entity specified to that collection.
| |
IEntityCoreUnsetRelatedEntity(IEntityCore, String) |
Unsets the internal parameter related to the fieldname passed to the instance relatedEntity. Reverses the actions taken by SetRelatedEntity()
| |
IEntityCoreUnsetRelatedEntity(IEntityCore, String, Boolean) |
Unsets the internal parameter related to the fieldname passed to the instance relatedEntity. Reverses the actions taken by SetRelatedEntity()
| |
ITransactionalElementTransactionCommit |
When the ITransaction in which this element participates is commited, this element can succesfully finish actions performed by this
element. This method is called by ITransaction, you should not call it by yourself. When this element doesn't participate in a
transaction it finishes the actions itself, calling this method is not needed.
| |
ITransactionalElementTransactionRollback |
When the ITransaction in which this element participates is rolled back, this element has to roll back its internal variables.
This method is called by ITransaction, you should not call it by yourself.
|