コード例 #1
0
ファイル: Model1.Designer.cs プロジェクト: jascenci/MS
 /// <summary>
 /// Deprecated Method for adding a new object to the tblCourseStatus EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTotblCourseStatus(tblCourseStatu tblCourseStatu)
 {
     base.AddObject("tblCourseStatus", tblCourseStatu);
 }
コード例 #2
0
ファイル: Model1.Designer.cs プロジェクト: jascenci/MS
 /// <summary>
 /// Create a new tblCourseStatu object.
 /// </summary>
 /// <param name="idCourse">Initial value of the idCourse property.</param>
 /// <param name="idStatusType">Initial value of the idStatusType property.</param>
 /// <param name="idStatusValue">Initial value of the idStatusValue property.</param>
 /// <param name="dateStatusStart">Initial value of the dateStatusStart property.</param>
 /// <param name="dateCreated">Initial value of the dateCreated property.</param>
 /// <param name="dateModified">Initial value of the dateModified property.</param>
 /// <param name="createdByLogin">Initial value of the CreatedByLogin property.</param>
 /// <param name="modifiedByLogin">Initial value of the ModifiedByLogin property.</param>
 public static tblCourseStatu CreatetblCourseStatu(global::System.Int32 idCourse, global::System.Int32 idStatusType, global::System.Int32 idStatusValue, global::System.DateTime dateStatusStart, global::System.DateTime dateCreated, global::System.DateTime dateModified, global::System.String createdByLogin, global::System.String modifiedByLogin)
 {
     tblCourseStatu tblCourseStatu = new tblCourseStatu();
     tblCourseStatu.idCourse = idCourse;
     tblCourseStatu.idStatusType = idStatusType;
     tblCourseStatu.idStatusValue = idStatusValue;
     tblCourseStatu.dateStatusStart = dateStatusStart;
     tblCourseStatu.dateCreated = dateCreated;
     tblCourseStatu.dateModified = dateModified;
     tblCourseStatu.CreatedByLogin = createdByLogin;
     tblCourseStatu.ModifiedByLogin = modifiedByLogin;
     return tblCourseStatu;
 }