EntityFields2 Methods |
The EntityFields2 type exposes the following members.
Name | Description | |
---|---|---|
![]() | Add |
Adds an item to the IList.
(Inherited from EntityFieldsCore<TField>.) |
![]() | Clear |
Not supported
(Inherited from EntityFieldsCore<TField>.) |
![]() | Clone |
Clones this instance and its contents using a deep copy.
|
![]() | CloneAsDirty |
Clones this object to a new EntityFields2 object where all fields are changed and the object itself is marked dirty.
|
![]() | Compact |
Compacts the list of fields so all empty slots are removed.
(Inherited from EntityFieldsCore<TField>.) |
![]() | Contains |
Determines whether the IList contains a specific value.
(Inherited from EntityFieldsCore<TField>.) |
![]() | Contract |
Contracts the list of fields so all empty slots at the end of the list of fields are removed. Doesn't perform a contract operation if the
fields object is empty
(Inherited from EntityFieldsCore<TField>.) |
![]() | CopyTo | (Inherited from EntityFieldsCore<TField>.) |
![]() | CreateDeepClone |
Clones this instance and its contents using a deep copy.
(Inherited from EntityFieldsCore<TField>.) |
![]() | CreateDeepCloneAsDirty |
Clones this object to a new EntityFieldsCore<TField> object where all fields are changed and the object itself is marked dirty.
(Inherited from EntityFieldsCore<TField>.) |
![]() | CreateFieldInstanceImpl |
Creates the field instance impl.
(Overrides EntityFieldsCore<TField>.CreateFieldInstanceImpl(IFieldInfo).) |
![]() | CreateShallowClone |
Creates a shallow copy of this instance, which means that a new object is created but all membervariables are kept the same.
(Inherited from EntityFieldsCore<TField>.) |
![]() | DefineField(IEntityFieldCore, Int32) |
Adds the specified field on the position indexInFields in the resultset.
(Inherited from EntityFieldsCore<TField>.) |
![]() | DefineField(IEntityFieldCore, Int32, AggregateFunction) |
Adds the specified field on the position indexInFields in the resultset.
(Inherited from EntityFieldsCore<TField>.) |
![]() | DefineField(IEntityFieldCore, Int32, String) |
Adds the specified field on the position indexInFields in the resultset.
(Inherited from EntityFieldsCore<TField>.) |
![]() | DefineField(IEntityFieldCore, Int32, String, AggregateFunction) |
Adds the specified field on the position indexInFields in the resultset.
(Inherited from EntityFieldsCore<TField>.) |
![]() | DefineField(IEntityFieldCore, Int32, String, String) |
Adds the specified field on the position indexInFields in the resultset.
(Inherited from EntityFieldsCore<TField>.) |
![]() | DefineField(IEntityFieldCore, Int32, String, String, AggregateFunction) | Adds the specified field on the position indexInFields in the resultset. (Inherited from EntityFieldsCore<TField>.) |
![]() | 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.
(Inherited from EntityFieldsCore<TField>.) |
![]() | Expand |
Expands this entity fields object by appending numberOfCells new cells to this object.
(Inherited from EntityFieldsCore<TField>.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | ForcedValueWrite(Int32, Object) |
Sets the current value for the field with the index specified to the currentValue specified without setting changed flags.
(Inherited from EntityFieldsCore<TField>.) |
![]() | ForcedValueWrite(Int32, Object, Object) |
Sets the current value for the field with the index specified to the currentValue specified and the dbvalue to the dbvalue specified
without setting changed flags.
(Inherited from EntityFieldsCore<TField>.) |
![]() | GetAsEntityFieldCoreArray |
copy the complete list of IEntityField objects to an array of IEntityFieldCore objects. IEntityField objects implement
IEntityFieldCore
(Inherited from EntityFieldsCore<TField>.) |
![]() | GetCurrentValue |
Gets the current value for the field at index specified.
(Inherited from EntityFieldsCore<TField>.) |
![]() | GetDbValue |
Gets the DB value for the field at index specified.
(Inherited from EntityFieldsCore<TField>.) |
![]() | GetEnumerator |
Gets the enumerator for this object.
(Inherited from EntityFieldsCore<TField>.) |
![]() | GetHashCode |
Overrides the GetHashCode routine. It will calculate a hashcode for this set of entity fields using the eXclusive OR of the
hashcodes of the primary key fields in this set of entity fields, if this fields object is part of an entity. If not, it will return
this object's hashcode, which is also done when no pk fields are present if this fields object is part of an entity
(Inherited from EntityFieldsCore<TField>.) |
![]() | GetIsChanged |
Gets the IsChanged flag for the field at the index specified.
(Inherited from EntityFieldsCore<TField>.) |
![]() | GetIsNull |
Gets the IsNull value for the field with the index specified.
(Inherited from EntityFieldsCore<TField>.) |
![]() | GetObjectData | Populates a SerializationInfowith the data needed to serialize the target object. (Inherited from EntityFieldsCore<TField>.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | IndexOf |
Determines the index of a specific item in the IList.
(Inherited from EntityFieldsCore<TField>.) |
![]() | Insert |
Not supported
(Inherited from EntityFieldsCore<TField>.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | PerformDeserializationInitialization |
in the deserialization constructor in a derived class this method is called to fill this instance with the data being deserialized.
(Inherited from EntityFieldsCore<TField>.) |
![]() | Remove |
Not supported.
(Inherited from EntityFieldsCore<TField>.) |
![]() | RemoveAt |
Not supported.
(Inherited from EntityFieldsCore<TField>.) |
![]() | SetCurrentValue |
Sets the current value for the field at index specified.
(Inherited from EntityFieldsCore<TField>.) |
![]() | SetDbValue |
Sets the db value for the field at the index specified.
(Inherited from EntityFieldsCore<TField>.) |
![]() | SetIsChanged |
Sets the IsChanged flag for the field specified. Sets IsDirty to true if value is true.
(Inherited from EntityFieldsCore<TField>.) |
![]() | SetPersistenceInfoIfRequired |
Sets the persistence info if required. Only used in selfservicing
(Inherited from EntityFieldsCore<TField>.) |
![]() | ShallowClone |
Creates a shallow copy of this instance, which means that a new EntityFields2 object is created but all membervariables are kept the same.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
![]() | In<T> |
Creates a predicate which is true if there's an object of type T in values, which has for each property P a field in fields with the same name / alias
and the value for property P is equal to the value of the field equivalent in the main query.
(Defined by InPredicateProducers.) |
![]() | NotIn<T> |
Creates a predicate which is true if there's no object of type T in values, which has for each property P a field in fields with the same name / alias
and the value for property P is equal to the value of the field equivalent in the main query.
(Defined by InPredicateProducers.) |
Name | Description | |
---|---|---|
![]() ![]() | ICollection<IEntityFieldCore>.Add |
Adds the specified item.
(Inherited from EntityFieldsCore<TField>.) |
![]() ![]() | IEditableObject.BeginEdit |
IEditableObject method. Used by databinding.
(Inherited from EntityFieldsCore<TField>.) |
![]() ![]() | IEditableObject.CancelEdit |
IEditableObject method. Used by databinding.
Doesn't reset isDirty.
(Inherited from EntityFieldsCore<TField>.) |
![]() ![]() | ICollection<IEntityFieldCore>.Clear |
Clears this instance.
(Inherited from EntityFieldsCore<TField>.) |
![]() ![]() | ICollection<IEntityFieldCore>.Contains |
Determines whether [contains] [the specified item].
(Inherited from EntityFieldsCore<TField>.) |
![]() ![]() | ICollection<IEntityFieldCore>.CopyTo |
Copies to.
(Inherited from EntityFieldsCore<TField>.) |
![]() ![]() | IEditableObject.EndEdit |
IEditableObject method. Used by databinding.
A succesful edit has been performed. All new values have to be moved to the current value slots.
(Inherited from EntityFieldsCore<TField>.) |
![]() ![]() | IEnumerable<IEntityField2>.GetEnumerator() |
Returns an enumerator that iterates through the collection.
|
![]() ![]() | IEnumerable<IEntityFieldCore>.GetEnumerator() |
Gets the enumerator.
(Inherited from EntityFieldsCore<TField>.) |
![]() ![]() | IEnumerable.GetEnumerator |
Returns an enumerator that iterates through a collection.
(Inherited from EntityFieldsCore<TField>.) |
![]() ![]() | IList<IEntityFieldCore>.IndexOf |
returns the index of the item specified
(Inherited from EntityFieldsCore<TField>.) |
![]() ![]() | IList<IEntityFieldCore>.Insert |
Inserts the specified index.
(Inherited from EntityFieldsCore<TField>.) |
![]() ![]() | IDeserializationCallback.OnDeserialization |
Runs when the entire object graph has been deserialized.
(Inherited from EntityFieldsCore<TField>.) |
![]() ![]() | ICollection<IEntityFieldCore>.Remove |
Removes the specified item.
(Inherited from EntityFieldsCore<TField>.) |
![]() ![]() | IList<IEntityFieldCore>.RemoveAt |
Removes the field at the index specified
(Inherited from EntityFieldsCore<TField>.) |
![]() ![]() | IEntityFieldsCore.AcceptChanges |
Accepts the changes made. Used in databinding scenarios
(Inherited from EntityFieldsCore<TField>.) |
![]() ![]() | IEntityFieldsCore.CleanAndPreserveExpressionsFromFields |
Removes the expressions from fields and returns them in the dictionary, key is field index, value is the expression on that field.
Only removes expressions from fields which have a non-empty containingobjectname, as those are real entity fields.
(Inherited from EntityFieldsCore<TField>.) |
![]() ![]() | IEntityFieldsCore.Clone |
Clones this instance and its contents using a deep copy.
(Inherited from EntityFieldsCore<TField>.) |
![]() ![]() | IEntityFieldsCore.CloneAsDirty |
Clones this object to a new IEntityFieldsCore object where all fields are changed and the object itself is marked dirty.
(Inherited from EntityFieldsCore<TField>.) |
![]() ![]() | IEntityFieldsCore.Compact |
Compacts the list of fields so all empty slots are removed.
(Inherited from EntityFieldsCore<TField>.) |
![]() ![]() | IEntityFieldsCore.Contract |
Contracts the list of fields so all empty slots at the end of the list of fields are removed. Doesn't perform a contract operation if the
fields object is empty
(Inherited from EntityFieldsCore<TField>.) |
![]() ![]() | IEntityFieldsCore.DeserializeData |
Deserializes the data of this fields object from the SerializationInfo object specified.
(Inherited from EntityFieldsCore<TField>.) |
![]() ![]() | IEntityFieldsCore.Expand |
Expands this entity fields object by appending numberOfCells new cells to this object.
(Inherited from EntityFieldsCore<TField>.) |
![]() ![]() | IEntityFieldsCore.GetAsEntityFieldCoreArray |
Returns the complete list of IEntityFieldCore objects as an array of IEntityFieldCore objects.
(Inherited from EntityFieldsCore<TField>.) |
![]() ![]() | IEntityFieldsCore.GetEntityFieldStates |
Gets the field states for transaction state save
(Inherited from EntityFieldsCore<TField>.) |
![]() ![]() | IEntityFieldsCore.GetEntityNamesOfFields |
Gets the entity names of fields.
(Inherited from EntityFieldsCore<TField>.) |
![]() ![]() | IEntityFieldsCore.GetFieldIndex |
Gets the index of the field with the name specified
(Inherited from EntityFieldsCore<TField>.) |
![]() ![]() | IEntityFieldsCore.GetFieldInfo |
Gets the field info for the field at the index specified.
(Inherited from EntityFieldsCore<TField>.) |
![]() ![]() | IEntityFieldsCore.GetFieldNames |
Gets the field names of the fields contained in this fields object.
(Inherited from EntityFieldsCore<TField>.) |
![]() ![]() | IEntityFieldsCore.GetHashCode |
Returns a hash code for this instance.
(Inherited from EntityFieldsCore<TField>.) |
![]() ![]() | IEntityFieldsCore.GetLinkedSuperTypeField |
Gets the linked super type field for the field with the index specified, or null if not applicable.
(Inherited from EntityFieldsCore<TField>.) |
![]() ![]() | IEntityFieldsCore.GetUniqueFieldNames |
Gets the unique field names.
(Inherited from EntityFieldsCore<TField>.) |
![]() ![]() | IEntityFieldsCore.MarkAsFetched |
Marks the fields as fetched. Copies the current values to the db values and sets the state to fetched.
(Inherited from EntityFieldsCore<TField>.) |
![]() ![]() | IEntityFieldsCore.ReadXml |
Reads the fields which are childnodes of the passed in fieldsElement into this object
(Inherited from EntityFieldsCore<TField>.) |
![]() ![]() | IEntityFieldsCore.ReassignExpressionsOnFields |
Reassigns the expressions on fields. Specified are the expressions per field index, as returned by CleanAndPreserveExpressionsFromFields
(Inherited from EntityFieldsCore<TField>.) |
![]() ![]() | IEntityFieldsCore.RejectChanges |
Rejects the changes made. Used in databinding scenarios
(Inherited from EntityFieldsCore<TField>.) |
![]() ![]() | IEntityFieldsCore.SerializeData |
Serializes the data of this fields object into the SerializationInfo object specified.
(Inherited from EntityFieldsCore<TField>.) |
![]() ![]() | IEntityFieldsCore.SetEntityFieldStates |
Sets the field states. Used in transaction state save
(Inherited from EntityFieldsCore<TField>.) |
![]() ![]() | IEntityFieldsCore.SetValues |
Sets the values for the fields, when this object is part of an entity.
(Inherited from EntityFieldsCore<TField>.) |
![]() ![]() | IEntityFieldsCore.ShallowClone |
Creates a shallow copy of this instance, which means that a new IEntityFieldsCore object is created but all membervariables are kept the same.
(Inherited from EntityFieldsCore<TField>.) |
![]() ![]() | IEntityFieldsCore.WriteXml |
Writes the XML of this Fields object to the writer specified
(Inherited from EntityFieldsCore<TField>.) |