DefaultKeyGenerator Class
DefaultKeyGenerator Class Breeze.sharp
Default implementation of IKeyGenerator that automatically generates temporary ids for most common datatypes.
Inheritance Hierarchy

SystemObject
  Breeze.SharpDefaultKeyGenerator

Namespace: Breeze.Sharp
Assembly: Breeze.Sharp (in Breeze.Sharp.dll) Version: 0.6.0.5 (0.6.0.5)
Syntax

public class DefaultKeyGenerator : IKeyGenerator

The DefaultKeyGenerator type exposes the following members.

Constructors

  NameDescription
Public methodDefaultKeyGenerator
Ctor.
Top
Methods

  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetNextTempId
Generates a new temporary ID for a specified EntityProperty.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsTempId
Determines whether a given ID is temporary.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodReset
Reset temporary ID generation back to its initial state.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Properties

  NameDescription
Public propertyTempIds
Returns the temporary IDs generated since instantiation of this class or the last Reset.
Top
See Also

Reference