當前位置: 首頁>>代碼示例>>C#>>正文


C# BLL.MoveNext方法代碼示例

本文整理匯總了C#中BLL.MoveNext方法的典型用法代碼示例。如果您正苦於以下問題:C# BLL.MoveNext方法的具體用法?C# BLL.MoveNext怎麽用?C# BLL.MoveNext使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在BLL的用法示例。


在下文中一共展示了BLL.MoveNext方法的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的C#代碼示例。

示例1: ToList

        public static List<Proxy.DrugCategory> ToList(BLL.Category v)
        {
            List<Proxy.DrugCategory> list = new List<Proxy.DrugCategory>();
            while (!v.EOF)
            {
                Proxy.DrugCategory t = new Proxy.DrugCategory();
              if(!v.IsColumnNull("ID"))
                     t.ID = v.ID;
              if(!v.IsColumnNull("CategoryName"))
                     t.CategoryName = v.CategoryName;
              if(!v.IsColumnNull("CategoryCode"))
                     t.CategoryCode = v.CategoryCode;
              if(!v.IsColumnNull("Description"))
                     t.Description = v.Description;

                list.Add(t);
                v.MoveNext();
            }
            return list;
        }
開發者ID:USAID-DELIVER-PROJECT,項目名稱:ethiopia-hcmis-warehouse,代碼行數:20,代碼來源:Category.cs

示例2: ToList

        public static List<Zone> ToList(BLL.Zone v)
        {
            List<Zone> list = new List<Zone>();
            while (!v.EOF)
            {
                Zone t = new Zone();
                if (!v.IsColumnNull("ID"))
                    t.ID = v.ID;
                if (!v.IsColumnNull("ZoneName"))
                    t.ZoneName = v.ZoneName;
                if (!v.IsColumnNull("RegionId"))
                    t.RegionId = v.RegionId;
                if (!v.IsColumnNull("ZoneCode"))
                    t.ZoneCode = v.ZoneCode;
                //if(!v.IsColumnNull("IsDeleted"))
                //      t.IsDeleted = v.IsDeleted;
                //if(!v.IsColumnNull("UpdateTime"))
                //      t.UpdateTime = v.UpdateTime;

                list.Add(t);
                v.MoveNext();
            }
            return list;
        }
開發者ID:USAID-DELIVER-PROJECT,項目名稱:ethiopia-hcmis-warehouse,代碼行數:24,代碼來源:Zone.cs

示例3: ToList

        public static List<VEN> ToList(BLL.VEN v)
        {
            List<VEN> list = new List<VEN>();
            while (!v.EOF)
            {
                VEN t = new VEN();
              if(!v.IsColumnNull("ID"))
                    t.ID = v.ID;
              if(!v.IsColumnNull("Value"))
                    t.Value = v.Value;
              if(!v.IsColumnNull("Description"))
                    t.Description = v.Description;
              //if(!v.IsColumnNull("IsDeleted"))
              //      t.IsDeleted = v.IsDeleted;
              //if(!v.IsColumnNull("UpdateTime"))
              //      t.UpdateTime = v.UpdateTime;

                list.Add(t);
                v.MoveNext();
            }
            return list;
        }
開發者ID:USAID-DELIVER-PROJECT,項目名稱:ethiopia-hcmis-warehouse,代碼行數:22,代碼來源:VEN.cs

示例4: ToList

        public static List<StoreGroupDivision> ToList(BLL.SubAccount v)
        {
            List<StoreGroupDivision> list = new List<StoreGroupDivision>();
            while (!v.EOF)
            {
                StoreGroupDivision t = new StoreGroupDivision();
              if(!v.IsColumnNull("ID"))
                    t.ID = v.ID;
              if(!v.IsColumnNull("Name"))
                    t.Name = v.Name;
              if(!v.IsColumnNull("Descriptiont"))
                    t.Descriptiont = v.Descriptiont;
              if(!v.IsColumnNull("StoreGroupID"))
                    t.StoreGroupID = v.StoreGroupID;

                list.Add(t);
                v.MoveNext();
            }
            return list;
        }
開發者ID:USAID-DELIVER-PROJECT,項目名稱:ethiopia-hcmis-warehouse,代碼行數:20,代碼來源:StoreGroupDivision.cs

示例5: ToList

        public static List<Stores> ToList(BLL.Activity v)
        {
            List<Stores> list = new List<Stores>();
            while (!v.EOF)
            {
                Stores t = new Stores();
                if (!v.IsColumnNull("ID"))
                    t.ID = v.ID;
                if (!v.IsColumnNull("HospitalID"))
                    t.HospitalID = v.HospitalID;
                if (!v.IsColumnNull("StoreName"))
                    t.StoreName = v.StoreName;
                if (!v.IsColumnNull("UsesMovingAverage"))
                    t.UsesMovingAverage = v.UsesMovingAverage;

                list.Add(t);
                v.MoveNext();
            }
            return list;
        }
開發者ID:USAID-DELIVER-PROJECT,項目名稱:ethiopia-hcmis-warehouse,代碼行數:20,代碼來源:Stores.cs

示例6: ToList

        public static List<Woreda> ToList(BLL.Woreda v)
        {
            List<Woreda> list = new List<Woreda>();
            while (!v.EOF)
            {
                Woreda t = new Woreda();
                if (!v.IsColumnNull("ID"))
                    t.ID = v.ID;
                if (!v.IsColumnNull("WoredaName"))
                    t.WoredaName = v.WoredaName;
                if (!v.IsColumnNull("ZoneID"))
                    t.ZoneID = v.ZoneID;
                if (!v.IsColumnNull("WoredaCode"))
                    t.WoredaCode = v.WoredaCode;
                //if(!v.IsColumnNull("IsDeleted"))
                //      t.IsDeleted = v.IsDeleted;
                //if(!v.IsColumnNull("UpdateTime"))
                //      t.UpdateTime = v.UpdateTime;

                list.Add(t);
                v.MoveNext();
            }
            return list;
        }
開發者ID:USAID-DELIVER-PROJECT,項目名稱:ethiopia-hcmis-warehouse,代碼行數:24,代碼來源:Woreda.cs

示例7: ToList

        public static List<ItemUnit> ToList(BLL.ItemUnit v)
        {
            List<ItemUnit> list = new List<ItemUnit>();
            while (!v.EOF)
            {
                ItemUnit t = new ItemUnit();
                if (!v.IsColumnNull("ID"))
                    t.ID = v.ID;
                if (!v.IsColumnNull("ItemID"))
                    t.ItemID = v.ItemID;
                if (!v.IsColumnNull("QtyPerUnit"))
                    t.QtyPerUnit = v.QtyPerUnit;
                if (!v.IsColumnNull("Text"))
                    t.Text = v.Text;

                list.Add(t);
                v.MoveNext();
            }
            return list;
        }
開發者ID:USAID-DELIVER-PROJECT,項目名稱:ethiopia-hcmis-warehouse,代碼行數:20,代碼來源:ItemUnit.cs

示例8: ToList

        public static List<StorageType> ToList(BLL.StorageType v)
        {
            List<StorageType> list = new List<StorageType>();
            while (!v.EOF)
            {
                StorageType t = new StorageType();
              if(!v.IsColumnNull("ID"))
                    t.ID = v.ID;
              if(!v.IsColumnNull("StorageTypeName"))
                    t.StorageTypeName = v.StorageTypeName;
              if(!v.IsColumnNull("IsSubTypeOf"))
                    t.IsSubTypeOf = v.IsSubTypeOf;
              if(!v.IsColumnNull("Prefix"))
                    t.Prefix = v.Prefix;
              //if(!v.IsColumnNull("IsDeleted"))
              //      t.IsDeleted = v.IsDeleted;
              //if(!v.IsColumnNull("UpdateTime"))
              //      t.UpdateTime = v.UpdateTime;

                list.Add(t);
                v.MoveNext();
            }
            return list;
        }
開發者ID:USAID-DELIVER-PROJECT,項目名稱:ethiopia-hcmis-warehouse,代碼行數:24,代碼來源:StorageType.cs

示例9: ToList

        public static List<StoreType> ToList(BLL.Mode v)
        {
            List<StoreType> list = new List<StoreType>();
            while (!v.EOF)
            {
                StoreType t = new StoreType();
              if(!v.IsColumnNull("ID"))
                    t.ID = v.ID;
              if(!v.IsColumnNull("TypeName"))
                    t.TypeName = v.TypeName;
              if(!v.IsColumnNull("Description"))
                    t.Description = v.Description;

                list.Add(t);
                v.MoveNext();
            }
            return list;
        }
開發者ID:USAID-DELIVER-PROJECT,項目名稱:ethiopia-hcmis-warehouse,代碼行數:18,代碼來源:StoreType.cs

示例10: ToList

        public static List<User> ToList(BLL.User v)
        {
            List<User> list = new List<User>();
            while (!v.EOF)
            {
                User t = new User();
              if(!v.IsColumnNull("ID"))
                    t.ID = v.ID;
              if(!v.IsColumnNull("FullName"))
                    t.FullName = v.FullName;
              if(!v.IsColumnNull("Address"))
                    t.Address = v.Address;
              if(!v.IsColumnNull("Mobile"))
                    t.Mobile = v.Mobile;
              if(!v.IsColumnNull("UserName"))
                    t.UserName = v.UserName;
              if(!v.IsColumnNull("Password"))
                    t.Password = v.Password;
              if(!v.IsColumnNull("UserType"))
                    t.UserType = v.UserType;
              if(!v.IsColumnNull("Active"))
                    t.Active = v.Active;
              //if(!v.IsColumnNull("IsDeleted"))
              //      t.IsDeleted = v.IsDeleted;
              //if(!v.IsColumnNull("UpdateTime"))
              //      t.UpdateTime = v.UpdateTime;

                list.Add(t);
                v.MoveNext();
            }
            return list;
        }
開發者ID:USAID-DELIVER-PROJECT,項目名稱:ethiopia-hcmis-warehouse,代碼行數:32,代碼來源:User.cs

示例11: ToList

        public static List<UserType> ToList(BLL.UserType v)
        {
            List<UserType> list = new List<UserType>();
            while (!v.EOF)
            {
                UserType t = new UserType();
              if(!v.IsColumnNull("ID"))
                    t.ID = v.ID;
              if(!v.IsColumnNull("Type"))
                    t.Type = v.Type;
              //if(!v.IsColumnNull("IsDeleted"))
              //      t.IsDeleted = v.IsDeleted;
              //if(!v.IsColumnNull("UpdateTime"))
              //      t.UpdateTime = v.UpdateTime;

                list.Add(t);
                v.MoveNext();
            }
            return list;
        }
開發者ID:USAID-DELIVER-PROJECT,項目名稱:ethiopia-hcmis-warehouse,代碼行數:20,代碼來源:UserType.cs

示例12: ToList

        public static List<DosageForm> ToList(BLL.DosageForm v)
        {
            List<DosageForm> list = new List<DosageForm>();
            while (!v.EOF)
            {
                DosageForm t = new DosageForm();
              if(!v.IsColumnNull("ID"))
                    t.ID = v.ID;
              if(!v.IsColumnNull("Form"))
                    t.Form = v.Form;

                list.Add(t);
                v.MoveNext();
            }
            return list;
        }
開發者ID:USAID-DELIVER-PROJECT,項目名稱:ethiopia-hcmis-warehouse,代碼行數:16,代碼來源:DosageForm.cs

示例13: ToList

        public static List<Supplier> ToList(BLL.Supplier v)
        {
            List<Supplier> list = new List<Supplier>();
            while (!v.EOF)
            {
                Supplier t = new Supplier();
              if(!v.IsColumnNull("ID"))
                    t.ID = v.ID;
              if(!v.IsColumnNull("CompanyName"))
                    t.CompanyName = v.CompanyName;
              if(!v.IsColumnNull("Address"))
                    t.Address = v.Address;
              if(!v.IsColumnNull("Telephone"))
                    t.Telephone = v.Telephone;
              if(!v.IsColumnNull("ContactPerson"))
                    t.ContactPerson = v.ContactPerson;
              if(!v.IsColumnNull("Mobile"))
                    t.Mobile = v.Mobile;
              if(!v.IsColumnNull("CompanyInfo"))
                    t.CompanyInfo = v.CompanyInfo;
              if(!v.IsColumnNull("IsActive"))
                    t.IsActive = v.IsActive;
              if(!v.IsColumnNull("Email"))
                    t.Email = v.Email;
              //if(!v.IsColumnNull("IsDeleted"))
              //      t.IsDeleted = v.IsDeleted;
              //if(!v.IsColumnNull("UpdateTime"))
              //      t.UpdateTime = v.UpdateTime;

                list.Add(t);
                v.MoveNext();
            }
            return list;
        }
開發者ID:USAID-DELIVER-PROJECT,項目名稱:ethiopia-hcmis-warehouse,代碼行數:34,代碼來源:Supplier.cs

示例14: ToList

        public static List<SupplyCategory> ToList(BLL.SupplyCategory v)
        {
            List<SupplyCategory> list = new List<SupplyCategory>();
            while (!v.EOF)
            {
                SupplyCategory t = new SupplyCategory();
              if(!v.IsColumnNull("ID"))
                    t.ID = v.ID;
              if(!v.IsColumnNull("Name"))
                    t.Name = v.Name;
              if(!v.IsColumnNull("ParentId"))
                    t.ParentId = v.ParentId;
              if(!v.IsColumnNull("Code"))
                    t.Code = v.Code;
              //if(!v.IsColumnNull("IsDeleted"))
              //      t.IsDeleted = v.IsDeleted;
              //if(!v.IsColumnNull("UpdateTime"))
              //      t.UpdateTime = v.UpdateTime;

                list.Add(t);
                v.MoveNext();
            }
            return list;
        }
開發者ID:USAID-DELIVER-PROJECT,項目名稱:ethiopia-hcmis-warehouse,代碼行數:24,代碼來源:SupplyCategory.cs

示例15: ToList

        public static List<Product> ToList(BLL.Product v)
        {
            List<Product> list = new List<Product>();
            while (!v.EOF)
            {
                Product t = new Product();
              if(!v.IsColumnNull("ID"))
                    t.ID = v.ID;
              if(!v.IsColumnNull("Name"))
                    t.Name = v.IIN;
              if(!v.IsColumnNull("TypeID"))
                    t.TypeID = v.TypeID;

                list.Add(t);
                v.MoveNext();
            }
            return list;
        }
開發者ID:USAID-DELIVER-PROJECT,項目名稱:ethiopia-hcmis-warehouse,代碼行數:18,代碼來源:Product.cs


注:本文中的BLL.MoveNext方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。