예제 #1
0
파일: Program.cs 프로젝트: Drazel/Warehouse
        static void Main(string[] args)
        {
            var socect = new WarehouseSocet
                         {
                             Length = 10,
                             Height = 10, MaxWeight = 10,
                             RowBookstand = 1,
                             ShelfBookstand = 10,
                             SocetNumber = 123,
                             UseVolume = 0,
                             UseWeight = 0,
                             Width = 12
                         };

            var rep = new WarehouseSocetRepository();
            socect = rep.GetById("55e0816e546c551fb48775ff");

            rep.Update(socect);
        }
예제 #2
0
        static void Main(string[] args)
        {
            var socect = new WarehouseSocet
            {
                Length         = 10,
                Height         = 10, MaxWeight = 10,
                RowBookstand   = 1,
                ShelfBookstand = 10,
                SocetNumber    = 123,
                UseVolume      = 0,
                UseWeight      = 0,
                Width          = 12
            };

            var rep = new WarehouseSocetRepository();

            socect = rep.GetById("55e0816e546c551fb48775ff");

            rep.Update(socect);
        }