Exemple #1
0
        public void InsertTest()
        {
            long TestLong = Context.Insert(new Bestelling()
            {
                Id = 1, Actief = true, KlantID = 1
            });

            Assert.AreEqual(1, TestLong);
        }
 public long Insert(Bestelling bestelling)
 {
     if (bestelling == null)
     {
         throw new NullReferenceException("Geen product.");
     }
     return(context.Insert(bestelling));
 }
Exemple #3
0
 public long Insert(Bestelling obj)
 {
     return(context.Insert(obj));
 }
Exemple #4
0
 public Bestelling Insert(Bestelling entity)
 {
     return(bestellingContext.Insert(entity));
 }