UniqueConstraint Class |
Namespace: SD.LLBLGen.Pro.ApplicationCore.EntityModel
The UniqueConstraint type exposes the following members.
Name | Description | |
---|---|---|
UniqueConstraint |
Initializes a new instance of the UniqueConstraint class.
| |
UniqueConstraint(String) |
Initializes a new instance of the UniqueConstraint class.
|
Name | Description | |
---|---|---|
AllowEdit |
Gets whether you can update items in the list.
(Inherited from CommandifiedListT.) | |
AllowNew |
Gets whether you can add items to the list using AddNew.
(Inherited from CommandifiedListT.) | |
AllowRemove |
Gets whether you can remove items from the list, using Remove(Object) or RemoveAt(Int32).
(Inherited from CommandifiedListT.) | |
Count | Gets the number of elements actually contained in the CollectionT. (Inherited from CollectionIFieldElementCore.) | |
Deserializing |
Gets or sets a value indicating whether this FieldElementCoreListTField is deserializing.
(Inherited from FieldElementCoreListTField.) | |
Error |
Gets an error message indicating what is wrong with this object.
| |
FieldsAsString |
Gets the fields as string, which means it returns a comma delimited list with all the field names in this UC.
(Inherited from FieldElementCoreListTField.) | |
IsSorted |
Gets whether the items in the list are sorted.
(Inherited from CommandifiedListT.) | |
IsSynchronized |
Gets a value indicating whether access to the ICollection is synchronized (thread safe). Default: false. Set to true in the ctor to
make sure the operations on this object are using locks. Use SyncRoot to lock on the same object as this class' internal operations.
(Inherited from CommandifiedListT.) | |
IsValid |
Gets a value indicating whether this instance is valid.
| |
ItemString |
Gets the String with the specified column name.
| |
ItemInt32 |
Gets or sets the instance at the specified index. This is a redefinition, so the get can be synchronized if needed.
(Inherited from CommandifiedListT.) | |
Items | Gets a IListT wrapper around the CollectionT. (Inherited from CollectionIFieldElementCore.) | |
Name |
Gets or sets the name of the unique constraint.
| |
SortDirection |
Gets the direction of the sort.
(Inherited from CommandifiedListT.) | |
SortProperty |
Gets the PropertyDescriptor that is being used for sorting.
(Inherited from CommandifiedListT.) | |
SupportsChangeNotification |
Gets whether a ListChanged event is raised when the list changes or an item in the list changes.
(Inherited from CommandifiedListT.) | |
SupportsSearching |
Gets whether the list supports searching using the Find(PropertyDescriptor, Object) method.
(Inherited from CommandifiedListT.) | |
SupportsSorting |
Gets whether the list supports sorting.
(Inherited from CommandifiedListT.) | |
SuppressEvents |
Gets or sets a value indicating whether events are blocked from being raised (true) or not (false, default)
(Inherited from CommandifiedListT.) | |
SyncRoot |
Gets an object that can be used to synchronize access to the ICollection. It's the same object used in locks inside this object.
(Inherited from CommandifiedListT.) |
Name | Description | |
---|---|---|
Add | Adds an object to the end of the CollectionT. (Inherited from CollectionIFieldElementCore.) | |
AddIndex |
Adds the PropertyDescriptor to the indexes used for searching.
(Inherited from CommandifiedListT.) | |
AddNew |
Adds a new item to the list.
(Inherited from CommandifiedListT.) | |
AddRange |
Adds the elements in the range specified to this list in one command
(Inherited from CommandifiedListT.) | |
ApplySort |
Sorts the list based on a PropertyDescriptor and a ListSortDirection.
(Inherited from CommandifiedListT.) | |
BeginEdit |
Begins an edit on an object.
| |
CancelEdit |
Discards changes since the last BeginEdit call.
| |
Clear | Removes all elements from the CollectionT. (Inherited from CollectionIFieldElementCore.) | |
ClearItems |
Removes all elements from the CollectionT.
(Inherited from CommandifiedListT.) | |
Contains | Determines whether an element is in the CollectionT. (Inherited from CollectionIFieldElementCore.) | |
CopyTo | Copies the entire CollectionT to a compatible one-dimensional Array, starting at the specified index of the target array. (Inherited from CollectionIFieldElementCore.) | |
DeserializeAdditionalAttributes |
Deserializes the additional attributes of the root element
(Inherited from FieldReferenceList.) | |
DeserializeFields |
Deserializes the fields.
(Inherited from FieldReferenceList.) | |
DeserializeFromReader |
Deserializes the data in this unique constaint from the xml in the reader passed in
(Inherited from FieldReferenceList.) | |
EndEdit | ||
Equals |
Determines whether the specified Object is equal to this instance.
(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.) | |
Find |
Returns the index of the row that has the given PropertyDescriptor.
(Inherited from CommandifiedListT.) | |
GetElementNameForXml |
Gets the element name for XML.
(Overrides FieldReferenceListGetElementNameForXml.) | |
GetEnumerator | Returns an enumerator that iterates through the CollectionT. (Inherited from CollectionIFieldElementCore.) | |
GetHashCode |
Returns a hash code for this instance.
(Overrides ObjectGetHashCode.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IndexOf | Searches for the specified object and returns the zero-based index of the first occurrence within the entire CollectionT. (Inherited from CollectionIFieldElementCore.) | |
Insert | Inserts an element into the CollectionT at the specified index. (Inherited from CollectionIFieldElementCore.) | |
InsertItem |
Inserts an element into the CollectionT at the specified index.
(Inherited from CommandifiedListT.) | |
MarkElementAsChanged |
Marks the uc definition as changed.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
MoveElement |
Moves the element at index currentIndex to the indexToMoveTo index.
(Inherited from CommandifiedListT.) | |
NotifyChange |
Notifies a list change to observers with the parameters passed in.
(Inherited from CommandifiedListT.) | |
OnAddingItem |
Called right before the item passed in is about to be added to this list. Use this method to do event handler housekeeping on elements in this list.
(Inherited from FieldElementCoreListTField.) | |
OnAddingItemComplete |
Called right after the item passed in has been added to the list
(Overrides CommandifiedListTOnAddingItemComplete(T).) | |
OnClearing |
Called right before the clear action starts. Use this method to do event handler housekeeping on elements in this list.
(Inherited from FieldElementCoreListTField.) | |
OnClearingComplete |
Called right after the clear action has been completed.
(Overrides CommandifiedListTOnClearingComplete.) | |
OnElementPropertyChanged |
Called when the PropertyChanged event was raised by an element in this list.
(Inherited from CommandifiedListT.) | |
OnPropertyChanged |
Called when a property has been changed.
(Inherited from FieldElementCoreListTField.) | |
OnRemovingItem |
Called right before the item passed in is about to be removed from this list. Use this method to do event handler housekeeping on elements in this list.
(Inherited from FieldElementCoreListTField.) | |
OnRemovingItemComplete |
Called right after the item passed in has been removed from this list.
(Overrides CommandifiedListTOnRemovingItemComplete(T).) | |
PerformSyncedAction(Action) |
Performs the specified action, either inside a lock on SyncRoot if this list is Synchronized, or normally, if this list isn't synchronized.
(Inherited from CommandifiedListT.) | |
PerformSyncedActionTFunc(FuncTFunc) |
Performs the specified action, either inside a lock on SyncRoot if this list is Synchronized, or normally, if this list isn't synchronized.
(Inherited from CommandifiedListT.) | |
PrepareFieldForListRemoval |
Prepares the field for list removal.
(Inherited from FieldElementCoreListTField.) | |
PropagateValidatorsToLoadedObjects |
Propagates the validators to loaded objects.
(Inherited from FieldElementCoreListTField.) | |
Remove | Removes the first occurrence of a specific object from the CollectionT. (Inherited from CollectionIFieldElementCore.) | |
RemoveAt | Removes the element at the specified index of the CollectionT. (Inherited from CollectionIFieldElementCore.) | |
RemoveIndex |
Removes the PropertyDescriptor from the indexes used for searching.
(Inherited from CommandifiedListT.) | |
RemoveItem |
Removes the element at the specified index of the CollectionT.
(Inherited from CommandifiedListT.) | |
RemoveSort |
Removes any sort applied using ApplySort(PropertyDescriptor, ListSortDirection).
(Inherited from CommandifiedListT.) | |
ResetBindings |
Resets the bindings. Raises a ListChanged.Reset event
(Inherited from CommandifiedListT.) | |
SerializeAdditionalAttributes |
Serializes the additional attributes to the root element
(Overrides FieldReferenceListSerializeAdditionalAttributes(ISerializer).) | |
SerializeFields |
Serializes the field references of the fields in this list
(Inherited from FieldReferenceList.) | |
SerializeToWriter |
Serializes the data in this class to the serializer passed in
(Inherited from FieldReferenceList.) | |
SetAsNewContents |
Sets the fields passed in as the new contents of this list. This is a separate routine, so the multiple actions taken are wrappeable into one command
(Inherited from FieldElementCoreListTField.) | |
SetItem |
Replaces the element at the specified index.
(Inherited from CommandifiedListT.) | |
SetValidatorsForField |
Sets the validators for field.
(Inherited from FieldElementCoreListTField.) | |
ToString | (Inherited from CommandifiedListT.) |
Name | Description | |
---|---|---|
ElementAdding |
Raised when an element is about to be added. The addition of the element can be cancelled through the event arguments.
(Inherited from CommandifiedListT.) | |
ElementRemoved |
Raised when an element was removed from this list. The element removed is contained in the event arguments. This event is necessary to
be able to retrieve a removed element after it was removed from the list by an observer, as ListChanged only contains indexes, and the
index of a removed element isn't valid after it's been removed from the list.
(Inherited from CommandifiedListT.) | |
ElementRemoving |
Raised when an element is about to be removed. The removal of the element can be cancelled through the event arguments.
(Inherited from CommandifiedListT.) | |
FieldElementCoreInListChanged |
Event which is raised when one of the fields inside this list has changed.
(Inherited from FieldElementCoreListTField.) | |
HasBeenRemoved |
Raised when the implementing element has been removed from its container
| |
ListChanged |
Occurs when the list changes or an item in the list changes.
(Inherited from CommandifiedListT.) | |
ListClearing |
Raised when this list is about to be cleared completely. The clearing of the list can be cancelled through the event arguments.
(Inherited from CommandifiedListT.) | |
PropertyChanged |
Occurs when a property value changes.
(Inherited from FieldElementCoreListTField.) | |
UniqueConstraintChanged |
Event raised when the name of this unique constraint has been changed.
|
Name | Description | |
---|---|---|
IListAdd | Adds an item to the IList. (Inherited from CollectionIFieldElementCore.) | |
IListContains | Determines whether the IList contains a specific value. (Inherited from CollectionIFieldElementCore.) | |
ICollectionCopyTo | (Inherited from CollectionIFieldElementCore.) | |
IEnumerableGetEnumerator | Returns an enumerator that iterates through a collection. (Inherited from CollectionIFieldElementCore.) | |
IListIndexOf | Determines the index of a specific item in the IList. (Inherited from CollectionIFieldElementCore.) | |
IListInsert | Inserts an item into the IList at the specified index. (Inherited from CollectionIFieldElementCore.) | |
IListIsFixedSize | Gets a value indicating whether the IList has a fixed size. (Inherited from CollectionIFieldElementCore.) | |
ICollectionTIsReadOnly | Gets a value indicating whether the ICollectionT is read-only. (Inherited from CollectionIFieldElementCore.) | |
IListIsReadOnly | Gets a value indicating whether the IList is read-only. (Inherited from CollectionIFieldElementCore.) | |
ICollectionIsSynchronized | Gets a value indicating whether access to the ICollection is synchronized (thread safe). (Inherited from CollectionIFieldElementCore.) | |
IListItem | Gets or sets the element at the specified index. (Inherited from CollectionIFieldElementCore.) | |
IListRemove | Removes the first occurrence of a specific object from the IList. (Inherited from CollectionIFieldElementCore.) | |
ICollectionSyncRoot | Gets an object that can be used to synchronize access to the ICollection. (Inherited from CollectionIFieldElementCore.) |