Example #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the smu_UserWeight EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTosmu_UserWeight(smu_UserWeight smu_UserWeight)
 {
     base.AddObject("smu_UserWeight", smu_UserWeight);
 }
Example #2
0
 /// <summary>
 /// Create a new smu_UserWeight object.
 /// </summary>
 /// <param name="userWeightId">Initial value of the UserWeightId property.</param>
 /// <param name="userId">Initial value of the UserId property.</param>
 /// <param name="weight">Initial value of the Weight property.</param>
 /// <param name="date">Initial value of the Date property.</param>
 /// <param name="createDate">Initial value of the CreateDate property.</param>
 public static smu_UserWeight Createsmu_UserWeight(global::System.Int32 userWeightId, global::System.Int32 userId, global::System.Decimal weight, global::System.DateTime date, global::System.DateTime createDate)
 {
     smu_UserWeight smu_UserWeight = new smu_UserWeight();
     smu_UserWeight.UserWeightId = userWeightId;
     smu_UserWeight.UserId = userId;
     smu_UserWeight.Weight = weight;
     smu_UserWeight.Date = date;
     smu_UserWeight.CreateDate = createDate;
     return smu_UserWeight;
 }