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