Esempio n. 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Sponsors EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSponsors(Sponsors sponsors)
 {
     base.AddObject("Sponsors", sponsors);
 }
Esempio n. 2
0
 /// <summary>
 /// Create a new Sponsors object.
 /// </summary>
 /// <param name="sponsorID">Initial value of the SponsorID property.</param>
 /// <param name="nombre">Initial value of the Nombre property.</param>
 /// <param name="personaContacto">Initial value of the PersonaContacto property.</param>
 /// <param name="fechaAlta">Initial value of the FechaAlta property.</param>
 /// <param name="activo">Initial value of the Activo property.</param>
 public static Sponsors CreateSponsors(global::System.Int32 sponsorID, global::System.String nombre, global::System.String personaContacto, global::System.DateTime fechaAlta, global::System.Boolean activo)
 {
     Sponsors sponsors = new Sponsors();
     sponsors.SponsorID = sponsorID;
     sponsors.Nombre = nombre;
     sponsors.PersonaContacto = personaContacto;
     sponsors.FechaAlta = fechaAlta;
     sponsors.Activo = activo;
     return sponsors;
 }