Ejemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the tblClasses EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTotblClasses(tblClass tblClass)
 {
     base.AddObject("tblClasses", tblClass);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create a new tblClass object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="createdDate">Initial value of the CreatedDate property.</param>
 /// <param name="createdBy">Initial value of the CreatedBy property.</param>
 /// <param name="active">Initial value of the Active property.</param>
 public static tblClass CreatetblClass(global::System.Int32 id, global::System.String name, global::System.DateTime createdDate, global::System.String createdBy, global::System.Boolean active)
 {
     tblClass tblClass = new tblClass();
     tblClass.ID = id;
     tblClass.Name = name;
     tblClass.CreatedDate = createdDate;
     tblClass.CreatedBy = createdBy;
     tblClass.Active = active;
     return tblClass;
 }