/// <summary> /// Deprecated Method for adding a new object to the UserBatchAssigned EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToUserBatchAssigned(UserBatchAssigned userBatchAssigned) { base.AddObject("UserBatchAssigned", userBatchAssigned); }
/// <summary> /// Create a new UserBatchAssigned object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="userID">Initial value of the UserID property.</param> /// <param name="batchStart">Initial value of the BatchStart property.</param> /// <param name="batchEnd">Initial value of the BatchEnd property.</param> public static UserBatchAssigned CreateUserBatchAssigned(global::System.Int32 id, global::System.Int32 userID, global::System.Int32 batchStart, global::System.Int32 batchEnd) { UserBatchAssigned userBatchAssigned = new UserBatchAssigned(); userBatchAssigned.ID = id; userBatchAssigned.UserID = userID; userBatchAssigned.BatchStart = batchStart; userBatchAssigned.BatchEnd = batchEnd; return userBatchAssigned; }