/// <summary> /// Create a new SecUserLock object. /// </summary> /// <param name="lockId">Initial value of the LockId property.</param> /// <param name="createdOn">Initial value of the CreatedOn property.</param> /// <param name="createdBy">Initial value of the CreatedBy property.</param> /// <param name="updatedOn">Initial value of the UpdatedOn property.</param> /// <param name="updatedBy">Initial value of the UpdatedBy property.</param> public static SecUserLock CreateSecUserLock(global::System.Int32 lockId, global::System.DateTime createdOn, global::System.Int32 createdBy, global::System.DateTime updatedOn, global::System.Int32 updatedBy) { SecUserLock secUserLock = new SecUserLock(); secUserLock.LockId = lockId; secUserLock.CreatedOn = createdOn; secUserLock.CreatedBy = createdBy; secUserLock.UpdatedOn = updatedOn; secUserLock.UpdatedBy = updatedBy; return secUserLock; }
/// <summary> /// Deprecated Method for adding a new object to the SecUserLocks EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSecUserLocks(SecUserLock secUserLock) { base.AddObject("SecUserLocks", secUserLock); }