/// <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; }
/// <summary> /// Deprecated Method for adding a new object to the Categorias EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCategorias(Categoria categoria) { base.AddObject("Categorias", categoria); }