Create() private méthode

private Create ( float val ) : Order
val float
Résultat Order
Exemple #1
0
        public virtual void DoTwoDBOperation_CreateEx(bool throwException)
        {
            firstDao.Create(Guid.NewGuid().ToString());
            orderDao.Create(1.122f);

            if (throwException)
            {
                throw new InvalidOperationException("Nah, giving up");
            }
        }
        public virtual void DoTwoDBOperation_Create(bool throwException)
        {
            Blog blog = firstDao.Create();

            secondDao.Create(blog);
            orderDao.Create(1.122f);

            if (throwException)
            {
                throw new InvalidOperationException("Nah, giving up");
            }
        }