コード例 #1
0
        public LocalRow ConvertCategory(DataRow _row, LocalRow localrow)
        {
            VetrinaList listVetrina = new VetrinaList();

            convertData          = new ConvertData(_row, localrow);
            localrow.ID          = convertData.ConvertDataInt32("ID");
            localrow.Description = convertData.ConvertDataString("Description");
            return(localrow);
        }
コード例 #2
0
        public LocalRow Convert(DataRow _row, LocalRow localrow)
        {
            VetrinaList listVetrina = new VetrinaList();

            convertData               = new ConvertData(_row, localrow);
            localrow.ID               = convertData.ConvertDataInt32("ID");
            localrow.FirstName        = convertData.ConvertDataString("FirstName");
            localrow.LastName         = convertData.ConvertDataString("LastName");
            localrow.Otchestvo        = convertData.ConvertDataString("Otchestvo");
            localrow.Otdel            = convertData.ConvertDataInt32("Otdel");
            localrow.Phone            = convertData.ConvertDataString("NumberPhone");
            localrow.NumberSotrudnika = convertData.ConvertDataInt32("NumberSotrudnika");
            // localrow.Photo = @"..\..\Icone\tovar\picture_80px.png";
            localrow.Dolwnost = convertData.ConvertDataString("Dolwnost");

            return(localrow);
        }
コード例 #3
0
        public LocalRow Convert(DataRow _row, LocalRow localrow)
        {
            VetrinaList listVetrina = new VetrinaList();

            convertData = new ConvertData(_row, localrow);

            localrow.ID                     = convertData.ConvertDataInt32("ID");
            localrow.TrackingNumber         = convertData.ConvertDataInt64("TrackingNumber");
            localrow.WhenOrdered            = convertData.ConvertDataDateTime("WhenOrdered");
            localrow.WhenItComes            = convertData.ConvertDataDateTime("WhenItComes");
            localrow.Quantity               = convertData.ConvertDataInt32("Quantity");
            localrow.SummaSum               = convertData.ConvertDataDouble("SummaSum");
            localrow.PaymentType            = convertData.ConvertDataInt32("PaymentType");
            localrow.PaymentReceipt         = convertData.ConvertDataInt32("PaymentReceipt");
            localrow.TypeBelivery           = convertData.ConvertDataInt32("TypeBelivery");
            localrow.Adress                 = convertData.ConvertDataString("Adress");
            localrow.NumvberPhon            = convertData.ConvertDataString("NumvberPhon");
            localrow.NamaMeneger            = convertData.ConvertDataString("NamaMeneger");
            localrow.NameBelivery           = convertData.ConvertDataString("NameBelivery");
            localrow.NumberBeliveryTracking = convertData.ConvertDataString("NumberBeliveryTracking");
            localrow.NameManegerBelivery    = convertData.ConvertDataString("NameManegerBelivery");
            localrow.DopNameCompanyBelivery = convertData.ConvertDataString("DopNameCompanyBelivery");
            localrow.DopNameSkladCompany    = convertData.ConvertDataString("DopNameSkladCompany");
            localrow.DopTagPriceOrder       = convertData.ConvertDataDouble("DopTagPriceOrder");
            localrow.DopWhenDateOrder       = convertData.ConvertDataDateTime("DopWhenDateOrder");
            localrow.DopWhereDateOrder      = convertData.ConvertDataDateTime("DopWhereDateOrder");
            localrow.DopTypePayment         = convertData.ConvertDataInt32("DopTypePayment");
            localrow.DopPaymentReceipt      = convertData.ConvertDataInt32("DopPaymentReceipt");
            localrow.DopNameManegerCompany  = convertData.ConvertDataString("DopNameManegerCompany");
            localrow.DopNumberPhoneManeger  = convertData.ConvertDataString("DopNumberPhoneManeger");
            localrow.DateCreate             = convertData.ConvertDataDateTime("DateCreate");
            localrow.CreateUseras           = convertData.ConvertDataInt32("CreateUseras");
            localrow.DataLastModifide       = convertData.ConvertDataDateTime("DataLastModifide");
            localrow.LastModifideUsers      = convertData.ConvertDataInt32("LastModifideUsers");

            return(localrow);
        }