コード例 #1
0
ファイル: Model1.cs プロジェクト: matsmats/GitHub
 /// <summary>
 /// Deprecated Method for adding a new object to the smu_UserPoints EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTosmu_UserPoints(smu_UserPoints smu_UserPoints)
 {
     base.AddObject("smu_UserPoints", smu_UserPoints);
 }
コード例 #2
0
ファイル: Model1.cs プロジェクト: matsmats/GitHub
 /// <summary>
 /// Create a new smu_UserPoints object.
 /// </summary>
 /// <param name="userPointsId">Initial value of the UserPointsId property.</param>
 /// <param name="createDate">Initial value of the CreateDate property.</param>
 /// <param name="points">Initial value of the Points property.</param>
 /// <param name="userTrainingId">Initial value of the UserTrainingId property.</param>
 /// <param name="trainingResult">Initial value of the TrainingResult property.</param>
 /// <param name="trainingId">Initial value of the TrainingId property.</param>
 public static smu_UserPoints Createsmu_UserPoints(global::System.Int32 userPointsId, global::System.DateTime createDate, global::System.Int32 points, global::System.Int32 userTrainingId, global::System.String trainingResult, global::System.Int32 trainingId)
 {
     smu_UserPoints smu_UserPoints = new smu_UserPoints();
     smu_UserPoints.UserPointsId = userPointsId;
     smu_UserPoints.CreateDate = createDate;
     smu_UserPoints.Points = points;
     smu_UserPoints.UserTrainingId = userTrainingId;
     smu_UserPoints.TrainingResult = trainingResult;
     smu_UserPoints.TrainingId = trainingId;
     return smu_UserPoints;
 }