Ejemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Rgs EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToRgs(Rg rg)
 {
     base.AddObject("Rgs", rg);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create a new Rg object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="number">Initial value of the Number property.</param>
 /// <param name="bornDate">Initial value of the BornDate property.</param>
 /// <param name="emittedDate">Initial value of the EmittedDate property.</param>
 /// <param name="fathersName">Initial value of the FathersName property.</param>
 /// <param name="mothersName">Initial value of the MothersName property.</param>
 /// <param name="city">Initial value of the City property.</param>
 /// <param name="state">Initial value of the State property.</param>
 /// <param name="image">Initial value of the Image property.</param>
 public static Rg CreateRg(global::System.Int32 id, global::System.String name, global::System.String number, global::System.DateTime bornDate, global::System.DateTime emittedDate, global::System.String fathersName, global::System.String mothersName, global::System.String city, global::System.String state, global::System.String image)
 {
     Rg rg = new Rg();
     rg.Id = id;
     rg.Name = name;
     rg.Number = number;
     rg.BornDate = bornDate;
     rg.EmittedDate = emittedDate;
     rg.FathersName = fathersName;
     rg.MothersName = mothersName;
     rg.City = city;
     rg.State = state;
     rg.Image = image;
     return rg;
 }