コード例 #1
0
 /// <summary>
 /// Create a new compre_junto object.
 /// </summary>
 /// <param name="camisetaPrincipalId">Initial value of the CamisetaPrincipalId property.</param>
 /// <param name="camisetaOfertaId">Initial value of the CamisetaOfertaId property.</param>
 /// <param name="desconto">Initial value of the Desconto property.</param>
 /// <param name="dataIns">Initial value of the DataIns property.</param>
 /// <param name="persistente">Initial value of the Persistente property.</param>
 /// <param name="ativo">Initial value of the Ativo property.</param>
 public static compre_junto Createcompre_junto(global::System.Int32 camisetaPrincipalId, global::System.Int32 camisetaOfertaId, global::System.Decimal desconto, global::System.DateTime dataIns, global::System.Byte persistente, global::System.Byte ativo)
 {
     compre_junto compre_junto = new compre_junto();
     compre_junto.CamisetaPrincipalId = camisetaPrincipalId;
     compre_junto.CamisetaOfertaId = camisetaOfertaId;
     compre_junto.Desconto = desconto;
     compre_junto.DataIns = dataIns;
     compre_junto.Persistente = persistente;
     compre_junto.Ativo = ativo;
     return compre_junto;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the compre_junto EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTocompre_junto(compre_junto compre_junto)
 {
     base.AddObject("compre_junto", compre_junto);
 }