/// <summary>
 /// Deprecated Method for adding a new object to the CodigoBarra EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCodigoBarra(CodigoBarra codigoBarra)
 {
     base.AddObject("CodigoBarra", codigoBarra);
 }
 /// <summary>
 /// Create a new CodigoBarra object.
 /// </summary>
 /// <param name="idCodigoBarra">Initial value of the IdCodigoBarra property.</param>
 public static CodigoBarra CreateCodigoBarra(global::System.Int32 idCodigoBarra)
 {
     CodigoBarra codigoBarra = new CodigoBarra();
     codigoBarra.IdCodigoBarra = idCodigoBarra;
     return codigoBarra;
 }