示例#1
0
 /// <summary>
 /// Create a new tblCourseRegistration object.
 /// </summary>
 /// <param name="idCourseRegisteration">Initial value of the idCourseRegisteration property.</param>
 /// <param name="idCourse">Initial value of the idCourse property.</param>
 /// <param name="idMember">Initial value of the idMember 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 tblCourseRegistration CreatetblCourseRegistration(global::System.Int32 idCourseRegisteration, global::System.Int32 idCourse, global::System.Int32 idMember, global::System.DateTime dateCreated, global::System.DateTime dateModified, global::System.String createdByLogin, global::System.String modifiedByLogin)
 {
     tblCourseRegistration tblCourseRegistration = new tblCourseRegistration();
     tblCourseRegistration.idCourseRegisteration = idCourseRegisteration;
     tblCourseRegistration.idCourse = idCourse;
     tblCourseRegistration.idMember = idMember;
     tblCourseRegistration.dateCreated = dateCreated;
     tblCourseRegistration.dateModified = dateModified;
     tblCourseRegistration.CreatedByLogin = createdByLogin;
     tblCourseRegistration.ModifiedByLogin = modifiedByLogin;
     return tblCourseRegistration;
 }
示例#2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the tblCourseRegistrations EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTotblCourseRegistrations(tblCourseRegistration tblCourseRegistration)
 {
     base.AddObject("tblCourseRegistrations", tblCourseRegistration);
 }