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