Example #1
0
 /// <summary>
 /// Create a new produtos object.
 /// </summary>
 /// <param name="produtoId">Initial value of the ProdutoId property.</param>
 /// <param name="dataIns">Initial value of the DataIns property.</param>
 /// <param name="descricao">Initial value of the Descricao property.</param>
 /// <param name="ativo">Initial value of the Ativo property.</param>
 /// <param name="qtdFotosCatalogo">Initial value of the QtdFotosCatalogo property.</param>
 /// <param name="destaqueHome">Initial value of the DestaqueHome property.</param>
 /// <param name="ordem">Initial value of the Ordem property.</param>
 public static produtos Createprodutos(global::System.Int32 produtoId, global::System.DateTime dataIns, global::System.String descricao, global::System.Byte ativo, global::System.Byte qtdFotosCatalogo, global::System.Byte destaqueHome, global::System.Int32 ordem)
 {
     produtos produtos = new produtos();
     produtos.ProdutoId = produtoId;
     produtos.DataIns = dataIns;
     produtos.Descricao = descricao;
     produtos.Ativo = ativo;
     produtos.QtdFotosCatalogo = qtdFotosCatalogo;
     produtos.DestaqueHome = destaqueHome;
     produtos.Ordem = ordem;
     return produtos;
 }
Example #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the produtos EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToprodutos(produtos produtos)
 {
     base.AddObject("produtos", produtos);
 }