Пример #1
0
 /// <summary>
 /// Create a new UpdateLock object.
 /// </summary>
 /// <param name="idUpdateLock">Initial value of the idUpdateLock property.</param>
 /// <param name="action">Initial value of the Action property.</param>
 /// <param name="isSuccessful">Initial value of the IsSuccessful property.</param>
 /// <param name="isLocked">Initial value of the IsLocked property.</param>
 public static UpdateLock CreateUpdateLock(global::System.Int32 idUpdateLock, global::System.String action, global::System.Boolean isSuccessful, global::System.Boolean isLocked)
 {
     UpdateLock updateLock = new UpdateLock();
     updateLock.idUpdateLock = idUpdateLock;
     updateLock.Action = action;
     updateLock.IsSuccessful = isSuccessful;
     updateLock.IsLocked = isLocked;
     return updateLock;
 }
Пример #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the UpdateLocks EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToUpdateLocks(UpdateLock updateLock)
 {
     base.AddObject("UpdateLocks", updateLock);
 }