Default implementation of IKeyGenerator that automatically generates temporary ids for most common datatypes.
Inheritance Hierarchy
Breeze.SharpDefaultKeyGenerator
Namespace: Breeze.Sharp
Assembly: Breeze.Sharp (in Breeze.Sharp.dll) Version: 0.6.0.5 (0.6.0.5)
Syntax
The DefaultKeyGenerator type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| DefaultKeyGenerator |
Ctor.
|
Methods
| Name | Description | |
|---|---|---|
| Equals | Determines whether the specified object is equal to the current object. (Inherited from 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.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetNextTempId |
Generates a new temporary ID for a specified EntityProperty.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| IsTempId |
Determines whether a given ID is temporary.
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Reset |
Reset temporary ID generation back to its initial state.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
| TempIds |
Returns the temporary IDs generated since instantiation of this class or the last Reset.
|
See Also