示例#1
0
 /// <summary>
 /// Create a new Tipos object.
 /// </summary>
 /// <param name="tipoID">Initial value of the TipoID property.</param>
 /// <param name="nombre">Initial value of the Nombre property.</param>
 public static Tipos CreateTipos(global::System.Int32 tipoID, global::System.String nombre)
 {
     Tipos tipos = new Tipos();
     tipos.TipoID = tipoID;
     tipos.Nombre = nombre;
     return tipos;
 }
示例#2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Tipos EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTipos(Tipos tipos)
 {
     base.AddObject("Tipos", tipos);
 }