示例#1
0
 void BuildFilterColumns() {
     var builder = new FilterColumnCollectionBuilder<Product>(filterControl.FilterColumns);
     builder
         .AddColumn(e => e.Name)
         .AddColumn(e => e.Available)
         .AddColumn(e => e.Cost)
         .AddColumn(e => e.CurrentInventory)
         .AddColumn(e => e.RetailPrice)
         .AddColumn(e => e.SalePrice)
         .AddDateTimeColumn(e => e.ProductionStart)
         .AddLookupColumn(e => e.Category);
 }
示例#2
0
 void BuildFilterColumns() {
     var builder = new FilterColumnCollectionBuilder<Customer>(filterControl.FilterColumns);
     builder
         .AddColumn(c => c.Name)
         .AddColumn(c => c.Phone)
         .AddColumn(c => c.Fax)
         .AddColumn(c => c.Website)
         .AddColumn(c => c.TotalEmployees)
         .AddColumn(c => c.TotalStores)
         .AddLookupColumn(c => c.Status)
         .AddLookupColumn(c => c.HomeOffice.State);
 }
示例#3
0
 void BuildFilterColumns() {
     var builder = new FilterColumnCollectionBuilder<Quote>(filterControl.FilterColumns);
     builder
         .AddColumn(e => e.Customer)
         .AddColumn(e => e.CustomerStore)
         .AddDateTimeColumn(e => e.Date)
         .AddColumn(e => e.Employee)
         .AddColumn(e => e.Number)
         .AddColumn(e => e.Opportunity)
         .AddColumn(e => e.ShippingAmount)
         .AddColumn(e => e.SubTotal)
         .AddColumn(e => e.Total);
 }
示例#4
0
        void BuildFilterColumns()
        {
            var builder = new FilterColumnCollectionBuilder <Product>(filterControl.FilterColumns);

            builder
            .AddColumn(e => e.Name)
            .AddColumn(e => e.Available)
            .AddColumn(e => e.Cost)
            .AddColumn(e => e.CurrentInventory)
            .AddColumn(e => e.RetailPrice)
            .AddColumn(e => e.SalePrice)
            .AddDateTimeColumn(e => e.ProductionStart)
            .AddLookupColumn(e => e.Category);
        }
示例#5
0
        void BuildFilterColumns()
        {
            var builder = new FilterColumnCollectionBuilder <Customer>(filterControl.FilterColumns);

            builder
            .AddColumn(c => c.Name)
            .AddColumn(c => c.Phone)
            .AddColumn(c => c.Fax)
            .AddColumn(c => c.Website)
            .AddColumn(c => c.TotalEmployees)
            .AddColumn(c => c.TotalStores)
            .AddLookupColumn(c => c.Status)
            .AddLookupColumn(c => c.HomeOffice.State);
        }
示例#6
0
        void BuildFilterColumns()
        {
            var builder = new FilterColumnCollectionBuilder <Quote>(filterControl.FilterColumns);

            builder
            .AddColumn(e => e.Customer.Name, caption: "Customer")
            .AddColumn(e => e.CustomerStore.Crest.CityName, caption: "City")
            .AddDateTimeColumn(e => e.Date)
            .AddColumn(e => e.Employee.FullName, caption: "Employee")
            .AddColumn(e => e.Number)
            .AddColumn(e => e.Opportunity)
            .AddColumn(e => e.ShippingAmount)
            .AddColumn(e => e.SubTotal)
            .AddColumn(e => e.Total);
        }
示例#7
0
        void BuildFilterColumns()
        {
            var builder = new FilterColumnCollectionBuilder <Quote>(filterControl.FilterColumns);

            builder
            .AddColumn(e => e.Customer)
            .AddColumn(e => e.CustomerStore)
            .AddDateTimeColumn(e => e.Date)
            .AddColumn(e => e.Employee)
            .AddColumn(e => e.Number)
            .AddColumn(e => e.Opportunity)
            .AddColumn(e => e.ShippingAmount)
            .AddColumn(e => e.SubTotal)
            .AddColumn(e => e.Total);
        }
示例#8
0
 void BuildFilterColumns() {
     var builder = new FilterColumnCollectionBuilder<Order>(filterControl.FilterColumns);
     builder
         .AddColumn(e => e.Customer)
         .AddColumn(e => e.Employee)
         .AddColumn(e => e.InvoiceNumber)
         .AddDateTimeColumn(e => e.OrderDate)
         .AddColumn(e => e.PONumber)
         .AddColumn(e => e.SaleAmount)
         .AddDateTimeColumn(e => e.ShipDate)
         .AddLookupColumn(e => e.ShipMethod)
         .AddColumn(e => e.ShippingAmount)
         .AddColumn(e => e.Store)
         .AddColumn(e => e.TotalAmount);
 }
        void BuildFilterColumns()
        {
            var builder = new FilterColumnCollectionBuilder <Order>(filterControl.FilterColumns);

            builder
            .AddColumn(e => e.Customer.Name, caption: "Customer")
            .AddColumn(e => e.Employee.FullName, caption: "Employee")
            .AddColumn(e => e.InvoiceNumber)
            .AddDateTimeColumn(e => e.OrderDate)
            .AddColumn(e => e.PONumber)
            .AddColumn(e => e.SaleAmount)
            .AddDateTimeColumn(e => e.ShipDate)
            .AddLookupColumn(e => e.ShipMethod)
            .AddColumn(e => e.ShippingAmount)
            .AddColumn(e => e.Store.Crest.CityName, caption: "Store")
            .AddColumn(e => e.TotalAmount);
        }
示例#10
0
 void BuildFilterColumns() {
     var builder = new FilterColumnCollectionBuilder<Employee>(filterControl.FilterColumns);
     builder
         .AddColumn(e => e.FirstName)
         .AddColumn(e => e.LastName)
         .AddColumn(e => e.FullName)
         .AddColumn(e => e.MobilePhone)
         .AddColumn(e => e.HomePhone)
         .AddColumn(e => e.Address.City)
         .AddColumn(e => e.Address.Line)
         .AddColumn(e => e.Address.ZipCode)
         .AddColumn(e => e.Email)
         .AddColumn(e => e.Skype)
         .AddDateTimeColumn(e => e.BirthDate)
         .AddDateTimeColumn(e => e.HireDate)
         .AddLookupColumn(e => e.Department)
         .AddLookupColumn(e => e.Status)
         .AddLookupColumn(e => e.Address.State)
         .AddLookupColumn(e => e.Prefix);
 }
        void BuildFilterColumns()
        {
            var builder = new FilterColumnCollectionBuilder <Employee>(filterControl.FilterColumns);

            builder
            .AddColumn(e => e.FirstName)
            .AddColumn(e => e.LastName)
            .AddColumn(e => e.FullName)
            .AddColumn(e => e.MobilePhone)
            .AddColumn(e => e.HomePhone)
            .AddColumn(e => e.Address.City)
            .AddColumn(e => e.Address.Line)
            .AddColumn(e => e.Address.ZipCode)
            .AddColumn(e => e.Email)
            .AddColumn(e => e.Skype)
            .AddDateTimeColumn(e => e.BirthDate)
            .AddDateTimeColumn(e => e.HireDate)
            .AddLookupColumn(e => e.Department)
            .AddLookupColumn(e => e.Status)
            .AddLookupColumn(e => e.Address.State)
            .AddLookupColumn(e => e.Prefix);
        }