Exemplo n.º 1
0
        /// <summary>
        /// Create a new Voorstelling object.
        /// </summary>
        /// <param name="voorstellingId">Initial value of the VoorstellingId property.</param>
        /// <param name="datum">Initial value of the Datum property.</param>
        /// <param name="tijdstip">Initial value of the Tijdstip property.</param>
        /// <param name="filmId">Initial value of the FilmId property.</param>
        /// <param name="zaalId">Initial value of the ZaalId property.</param>
        public static Voorstelling CreateVoorstelling(global::System.Int32 voorstellingId, global::System.DateTime datum, global::System.TimeSpan tijdstip, global::System.Int32 filmId, global::System.Int32 zaalId)
        {
            Voorstelling voorstelling = new Voorstelling();

            voorstelling.VoorstellingId = voorstellingId;
            voorstelling.Datum          = datum;
            voorstelling.Tijdstip       = tijdstip;
            voorstelling.FilmId         = filmId;
            voorstelling.ZaalId         = zaalId;
            return(voorstelling);
        }
Exemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Voorstellings EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToVoorstellings(Voorstelling voorstelling)
 {
     base.AddObject("Voorstellings", voorstelling);
 }