Summary
constructor to create a UniqueFieldValueConstraint.
- Assembly
- Db4objects
.Db4o-2010 .dll - Namespace
- Db4objects
.Db4o .Constraints - Containing Type
- Unique
Field Value Constraint
Syntax
public UniqueFieldValueConstraint(Object clazz, string fieldName)
Remarks
constructor to create a UniqueFieldValueConstraint.
Parameters
Name | Type | Description |
---|---|---|
clazz | Object | can be a class (Java) / Type (.NET) / instance of the class / fully qualified class name |
fieldName | string | the name of the field that is to be unique. |
Return Value
Type | Description |
---|---|
void |