Наследование: System.Data.Objects.DataClasses.EntityObject
Пример #1
0
 /// <summary>
 /// Create a new cargo object.
 /// </summary>
 /// <param name="cargo1">Initial value of the cargo1 property.</param>
 /// <param name="id">Initial value of the id property.</param>
 public static cargo Createcargo(global::System.String cargo1, global::System.Int64 id)
 {
     cargo cargo = new cargo();
     cargo.cargo1 = cargo1;
     cargo.id = id;
     return cargo;
 }
Пример #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the cargos EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTocargos(cargo cargo)
 {
     base.AddObject("cargos", cargo);
 }