Class SoDuplicateChecker
Inheritance
System.Object
SoDuplicateChecker
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: SuperOffice.Data
Assembly: SoDataBase.dll
Syntax
public static class SoDuplicateChecker
Methods
CheckIfFieldHasValue(FieldInfo, Object, Int32[])
Declaration
public static bool CheckIfFieldHasValue(this FieldInfo field, object value, params int[] excludedPrimaryKeys)
Parameters
Type | Name | Description |
---|---|---|
FieldInfo | field | |
System.Object | value | |
System.Int32[] | excludedPrimaryKeys |
Returns
Type | Description |
---|---|
Boolean |
TryGetPrimaryKey(FieldInfo, Object, out Int32, Int32[])
Declaration
public static bool TryGetPrimaryKey(this FieldInfo field, object value, out int primaryKey, params int[] excludedPrimaryKeys)
Parameters
Type | Name | Description |
---|---|---|
FieldInfo | field | |
System.Object | value | |
System.Int32 | primaryKey | |
System.Int32[] | excludedPrimaryKeys |
Returns
Type | Description |
---|---|
Boolean |