Пример #1
0
 /// <summary>
 /// Create a new carrinho_compras object.
 /// </summary>
 /// <param name="qtdItens">Initial value of the QtdItens property.</param>
 /// <param name="dataIns">Initial value of the DataIns property.</param>
 /// <param name="userId">Initial value of the UserId property.</param>
 /// <param name="itemId">Initial value of the ItemId property.</param>
 /// <param name="notificadoEstoque">Initial value of the NotificadoEstoque property.</param>
 public static carrinho_compras Createcarrinho_compras(global::System.Int16 qtdItens, global::System.DateTime dataIns, global::System.Int32 userId, global::System.Int32 itemId, global::System.Byte notificadoEstoque)
 {
     carrinho_compras carrinho_compras = new carrinho_compras();
     carrinho_compras.QtdItens = qtdItens;
     carrinho_compras.DataIns = dataIns;
     carrinho_compras.UserId = userId;
     carrinho_compras.ItemId = itemId;
     carrinho_compras.NotificadoEstoque = notificadoEstoque;
     return carrinho_compras;
 }
Пример #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the carrinho_compras EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTocarrinho_compras(carrinho_compras carrinho_compras)
 {
     base.AddObject("carrinho_compras", carrinho_compras);
 }