/// <summary> /// Create a new UserCm object. /// </summary> /// <param name="userId">Initial value of the UserId property.</param> /// <param name="userNumber">Initial value of the UserNumber property.</param> public static UserCm CreateUserCm(global::System.String userId, global::System.Int32 userNumber) { UserCm userCm = new UserCm(); userCm.UserId = userId; userCm.UserNumber = userNumber; return userCm; }
/// <summary> /// Deprecated Method for adding a new object to the UserCms EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToUserCms(UserCm userCm) { base.AddObject("UserCms", userCm); }