Exemplo n.º 1
0
 public FilmInfoManage()
 {
     de      = Database.GetNewDataEntity();
     tmpList = new List <Film_FilmMode>();
     tmpFilm_FilmTypeList = new List <Film_FilmType>();
     delListCheck         = new List <Film>();
 }
Exemplo n.º 2
0
        /// <summary>
        /// 静态变量, 票标
        /// </summary>
        /// <returns></returns>
        public static List <Template> DirectGetTemplate()
        {
            FlamingoEntities de = Database.GetNewDataEntity();

            List <Template> list = de.Template.ToList();

            return(list);
        }
Exemplo n.º 3
0
        /// <summary>
        /// 静态变量,直接获取所有影片产地数据
        /// </summary>
        /// <returns></returns>
        public static List <Theater> DirectGetAllList()
        {
            FlamingoEntities de = Database.GetNewDataEntity();

            ////List<Theater> list = de.Theater.ToList();
            //List<Theater> list = de.Theater.ToList();
            return(de.Theater.ToList());
        }
Exemplo n.º 4
0
        /// <summary>
        /// 静态变量
        /// </summary>
        /// <returns></returns>
        public static List <Ticket> DirectGetTicket()
        {
            FlamingoEntities de = Database.GetNewDataEntity();

            List <Ticket> list = de.Ticket.ToList();

            return(list);
        }
Exemplo n.º 5
0
        /// <summary>
        /// 静态变量, 客户
        /// </summary>
        /// <returns></returns>
        public static List <Customer> DirectGetCustomer()
        {
            FlamingoEntities de = Database.GetNewDataEntity();

            List <Customer> list = de.Customer.ToList();

            return(list);
        }
Exemplo n.º 6
0
        /// <summary>
        /// 静态变量, 票券子类型
        /// </summary>
        /// <returns></returns>
        public static List <VoucherSubType> DirectGetVoucherSubType()
        {
            FlamingoEntities de = Database.GetNewDataEntity();

            List <VoucherSubType> list = de.VoucherSubType.ToList();

            return(list);
        }
Exemplo n.º 7
0
        /// <summary>
        /// 静态变量, 经手人
        /// </summary>
        /// <returns></returns>
        public static List <User> DirectGetIssued()
        {
            FlamingoEntities de = Database.GetNewDataEntity();

            List <User> list = de.User.ToList();

            return(list);
        }
Exemplo n.º 8
0
        /// <summary>
        /// 静态变量,直接获取所有影片类型数据
        /// </summary>
        /// <returns></returns>
        public static List <FilmCategory> DirectGetAllList()
        {
            FlamingoEntities de = Database.GetNewDataEntity();

            List <FilmCategory> list = de.FilmCategory.ToList();

            return(list);
        }
Exemplo n.º 9
0
        /// <summary>
        /// 静态变量, 票券批次
        /// </summary>
        /// <returns></returns>
        public static List <VoucherBatch> DirectGetVoucherBatch()
        {
            FlamingoEntities de = Database.GetNewDataEntity();

            List <VoucherBatch> list = de.VoucherBatch.ToList();

            return(list);
        }
Exemplo n.º 10
0
        public static string GetVoucherSubTypeName(int nId)
        {
            FlamingoEntities de = Database.GetNewDataEntity();
            var name            = (from v in de.VoucherSubType
                                   where v.VoucherSubTypeId == nId
                                   select v.VoucherSubTypeName).FirstOrDefault();

            return(name);
        }
Exemplo n.º 11
0
 public FilmSet()
 {
     this.dataMager = new DailyShowPlanManage();
     // 获取新的数据实体
     de                     = Database.GetNewDataEntity();
     this.filmList          = de.Film.ToList();
     this.film_FilmModeList = de.Film_FilmMode.ToList();
     this.defineColor       = dataMager.GetColor;
 }
Exemplo n.º 12
0
        public static string GetCustomerName(int nId)
        {
            FlamingoEntities de = Database.GetNewDataEntity();
            var name            = (from v in de.Customer
                                   where v.CustomerId == nId
                                   select v.CustomerName).FirstOrDefault();

            return(name);
        }
Exemplo n.º 13
0
        public static object GetCustomerTypeName(int id)
        {
            FlamingoEntities de = Database.GetNewDataEntity();

            var name = (from c in de.CustomerType
                        where c.CustomerTypeId == id
                        select c.CustomerTypeName).FirstOrDefault();

            return(name);
        }
Exemplo n.º 14
0
        public frmUpdateShowPlanInfo(ShowPlan Showplan, DailyShowPlanManage datamager)
        {
            InitializeComponent();

            this.showPlan = Showplan;

            this.dataManager = datamager;
            de = Database.GetNewDataEntity();
            employeeInfoList = new List <EmployeeInfo>();
        }
Exemplo n.º 15
0
 public ManualWeave(DailyShowPlanManage datemager)
 {
     showPlanList   = new List <ShowPlan>();
     this.dataMager = datemager;
     // 获取新的数据实体
     de                     = Database.GetNewDataEntity();
     this.filmList          = de.Film.ToList();
     this.film_FilmModeList = de.Film_FilmMode.ToList();
     this.defineColor       = this.dataMager.GetColor;
     GetFilmAndFilmModeList();
 }
Exemplo n.º 16
0
 public VoucherManage()
 {
     de = Database.GetNewDataEntity();
 }
Exemplo n.º 17
0
 public FareSettingManage()
 {
     de = Database.GetNewDataEntity();
 }
Exemplo n.º 18
0
 public CustomerManage()
 {
     de = Database.GetNewDataEntity();
 }
Exemplo n.º 19
0
 public Anthorization()
 {
     de = Database.GetNewDataEntity();
 }
Exemplo n.º 20
0
 public FilmHallManage()
 {
     de = Database.GetNewDataEntity();
 }
Exemplo n.º 21
0
 public SingleVoucherBatch()
 {
     de = Database.GetNewDataEntity();
 }
Exemplo n.º 22
0
        public FilmDownloadManage()
        {
            de = Database.GetNewDataEntity();

            downloadList = new List <FilmDownloadInfo>();
        }
Exemplo n.º 23
0
        //private List<DownloadSettingInfo> list = new List<DownloadSettingInfo>();

        public DownloadSettingManage()
        {
            de = Database.GetNewDataEntity();
        }
Exemplo n.º 24
0
 public BaseQuery()
 {
     de = Database.GetNewDataEntity();
     Ticket_BaseQueryList = new List <Ticket_BaseQuery>();
 }
Exemplo n.º 25
0
 public ChangMange()
 {
     de = Database.GetNewDataEntity();
 }
Exemplo n.º 26
0
 public BestowCircsStatManage()
 {
     de = Database.GetNewDataEntity();
 }
Exemplo n.º 27
0
 public FilmAreaManage()
 {
     de = Database.GetNewDataEntity();
 }
Exemplo n.º 28
0
 public HallPriceSet()
 {
     // 获取新的数据实体
     de = Database.GetNewDataEntity();
 }
Exemplo n.º 29
0
 public FilmCategoryManage()
 {
     de = Database.GetNewDataEntity();
 }
Exemplo n.º 30
0
 public DebtManage()
 {
     de = Database.GetNewDataEntity();
 }