Exemplo n.º 1
0
 /// <summary>
 /// Create a new tblTrainer object.
 /// </summary>
 /// <param name="idTrainer">Initial value of the idTrainer property.</param>
 /// <param name="nameTrainer">Initial value of the nameTrainer property.</param>
 /// <param name="idStatusValue">Initial value of the idStatusValue 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 tblTrainer CreatetblTrainer(global::System.Int32 idTrainer, global::System.String nameTrainer, global::System.Int32 idStatusValue, global::System.DateTime dateCreated, global::System.DateTime dateModified, global::System.String createdByLogin, global::System.String modifiedByLogin)
 {
     tblTrainer tblTrainer = new tblTrainer();
     tblTrainer.idTrainer = idTrainer;
     tblTrainer.nameTrainer = nameTrainer;
     tblTrainer.idStatusValue = idStatusValue;
     tblTrainer.dateCreated = dateCreated;
     tblTrainer.dateModified = dateModified;
     tblTrainer.CreatedByLogin = createdByLogin;
     tblTrainer.ModifiedByLogin = modifiedByLogin;
     return tblTrainer;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the tblTrainers EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTotblTrainers(tblTrainer tblTrainer)
 {
     base.AddObject("tblTrainers", tblTrainer);
 }