The key binding.

Namespace: Hypertable.Persistence.Bindings
Assembly: ht4o (in ht4o.dll) Version: 0.9.8.11 (0.9.8.11)

Syntax

         
 C#  Visual Basic  Visual C++ 
public sealed class KeyBinding<T> : PartialKeyBinding
where T : class
Public NotInheritable Class KeyBinding(Of T As Class) _
	Inherits PartialKeyBinding
generic<typename T>
where T : ref class
public ref class KeyBinding sealed : public PartialKeyBinding

Type Parameters

T
The entity type.

Members

            
 All Members  Constructors   Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
KeyBinding<(Of <(<'T>)>)>(Expression<(Of <<'(Func<(Of <<'(T, String>)>>)>)>>))
Initializes a new instance of the KeyBinding<(Of <(<'T>)>)> class.
KeyBinding<(Of <(<'T>)>)>(Func<(Of <<'(T, String>)>>), Action<(Of <<'(T, String>)>>))
Initializes a new instance of the KeyBinding<(Of <(<'T>)>)> class.
KeyBinding<(Of <(<'T>)>)>(Expression<(Of <<'(Func<(Of <<'(T, String>)>>)>)>>), IColumnBinding)
Initializes a new instance of the KeyBinding<(Of <(<'T>)>)> class.
KeyBinding<(Of <(<'T>)>)>(Expression<(Of <<'(Func<(Of <<'(T, String>)>>)>)>>), Boolean)
Initializes a new instance of the KeyBinding<(Of <(<'T>)>)> class.
KeyBinding<(Of <(<'T>)>)>(Func<(Of <<'(T, String>)>>), Action<(Of <<'(T, String>)>>), IColumnBinding)
Initializes a new instance of the KeyBinding<(Of <(<'T>)>)> class.
KeyBinding<(Of <(<'T>)>)>(Func<(Of <<'(T, String>)>>), Action<(Of <<'(T, String>)>>), Boolean)
Initializes a new instance of the KeyBinding<(Of <(<'T>)>)> class.
KeyBinding<(Of <(<'T>)>)>(Expression<(Of <<'(Func<(Of <<'(T, String>)>>)>)>>), IColumnBinding, Boolean)
Initializes a new instance of the KeyBinding<(Of <(<'T>)>)> class.
KeyBinding<(Of <(<'T>)>)>(Func<(Of <<'(T, String>)>>), Action<(Of <<'(T, String>)>>), IColumnBinding, Boolean)
Initializes a new instance of the KeyBinding<(Of <(<'T>)>)> class.
CreateKey(Object)
Creates a database key for the entity specified.
(Overrides PartialKeyBinding..::..CreateKey(Object).)
EntityType
Gets the entity type.
(Inherited from PartialKeyBinding.)
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
KeyFromEntity(Object)
Gets the database key from the entity specified.
(Overrides PartialKeyBinding..::..KeyFromEntity(Object).)
KeyFromValue(Object)
Gets the database key from the value specified.
(Overrides PartialKeyBinding..::..KeyFromValue(Object).)
SetKey(Object, Key)
Updates the entity using the database key specified.
(Overrides PartialKeyBinding..::..SetKey(Object, Key).)
ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)

Inheritance Hierarchy

System..::..Object
  Hypertable.Persistence.Bindings..::..PartialKeyBinding
    Hypertable.Persistence.Bindings..::..KeyBinding<(Of <(<'T>)>)>

See Also