Пример #1
0
 /// <summary>
 /// Create a new Categoria object.
 /// </summary>
 /// <param name="cod">Initial value of the Cod property.</param>
 public static Categoria CreateCategoria(global::System.Int32 cod)
 {
     Categoria categoria = new Categoria();
     categoria.Cod = cod;
     return categoria;
 }
Пример #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Categorias EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCategorias(Categoria categoria)
 {
     base.AddObject("Categorias", categoria);
 }