Class LookupResolver
Inheritance
System.Object
LookupResolver
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: Terrasoft.Sync
Assembly: Terrasoft.Sync.dll
Syntax
public static class LookupResolver
Methods
ApplyLookupConflictResolution(UserConnection)
Declaration
public static void ApplyLookupConflictResolution(UserConnection userConnection)
Parameters
Type | Name | Description |
---|---|---|
UserConnection | userConnection |
GetLookupColumnResolvedValues(UserConnection, String, Guid)
Gets conflict value for match was set in which bpm’online.
Declaration
public static List<string> GetLookupColumnResolvedValues(UserConnection userConnection, string lookupSchemaName, Guid lookupRecordId)
Parameters
Type | Name | Description |
---|---|---|
UserConnection | userConnection | userConnection |
System.String | lookupSchemaName | Lookup name |
System.Guid | lookupRecordId | Lookup record Id, for which the matches are returned. |
Returns
Type | Description |
---|---|
System.Collections.Generic.List<System.String> |
GetSyncLookupConflicts(UserConnection, Guid)
Declaration
public static List<LookupConflict> GetSyncLookupConflicts(UserConnection userConnection, Guid remoteStoreId)
Parameters
Type | Name | Description |
---|---|---|
UserConnection | userConnection | |
System.Guid | remoteStoreId |
Returns
Type | Description |
---|---|
System.Collections.Generic.List<LookupConflict> |
SaveConflictResolution(UserConnection, LookupConflict)
Declaration
public static void SaveConflictResolution(UserConnection userConnection, LookupConflict lookupConflict)
Parameters
Type | Name | Description |
---|---|---|
UserConnection | userConnection | |
LookupConflict | lookupConflict |
SetLookupColumnValue(Entity, String, String, String)
Declaration
public static bool SetLookupColumnValue(this Entity source, string lookupColumnValueName, string lookupDisplayValue, string lookupDisplayColumnName = null)
Parameters
Type | Name | Description |
---|---|---|
Entity | source | |
System.String | lookupColumnValueName | |
System.String | lookupDisplayValue | |
System.String | lookupDisplayColumnName |
Returns
Type | Description |
---|---|
System.Boolean |
TryGetLookupValueFromSchema(UserConnection, String, String, String, out Guid)
Declaration
public static bool TryGetLookupValueFromSchema(UserConnection userConnection, string lookupSchemaName, string lookupSchemaDisplayColumnName, string lookupSchemaDisplayColumnValue, out Guid lookupSchemaRecordId)
Parameters
Type | Name | Description |
---|---|---|
UserConnection | userConnection | |
System.String | lookupSchemaName | |
System.String | lookupSchemaDisplayColumnName | |
System.String | lookupSchemaDisplayColumnValue | |
System.Guid | lookupSchemaRecordId |
Returns
Type | Description |
---|---|
System.Boolean |