Example #1
0
 public void InsertOrUpdateRecord()
 {
     StnEntityHelper.InsertOrUpdateEntity(
         UserConnection,
         EntityName,
         new Dictionary <string, object>()
     {
         { "Id", new Guid(Id) }
     },
         ColumnsCollection
         );
 }
Example #2
0
 public Guid InsertOrUpdateLookups(string entityName, Guid?recordId)
 {
     return(StnEntityHelper.InsertOrUpdateEntity(
                UserConnection,
                entityName,
                new Dictionary <string, object>()
     {
         { "Id", recordId }
     },
                new Dictionary <string, object>()
     {
         { "Id", recordId }
     }
                ));
 }