/// <summary>Initialize the datastructures.</summary> protected override void InitClass() { TableName = "OrdersQry"; _columnOrderId = GeneralUtils.CreateTypedDataTableColumn("OrderId", @"OrderId", typeof(System.Int32), this.Columns); _columnCustomerId = GeneralUtils.CreateTypedDataTableColumn("CustomerId", @"CustomerId", typeof(System.String), this.Columns); _columnEmployeeId = GeneralUtils.CreateTypedDataTableColumn("EmployeeId", @"EmployeeId", typeof(System.Int32), this.Columns); _columnOrderDate = GeneralUtils.CreateTypedDataTableColumn("OrderDate", @"OrderDate", typeof(System.DateTime), this.Columns); _columnRequiredDate = GeneralUtils.CreateTypedDataTableColumn("RequiredDate", @"RequiredDate", typeof(System.DateTime), this.Columns); _columnShippedDate = GeneralUtils.CreateTypedDataTableColumn("ShippedDate", @"ShippedDate", typeof(System.DateTime), this.Columns); _columnShipVia = GeneralUtils.CreateTypedDataTableColumn("ShipVia", @"ShipVia", typeof(System.Int32), this.Columns); _columnFreight = GeneralUtils.CreateTypedDataTableColumn("Freight", @"Freight", typeof(System.Decimal), this.Columns); _columnShipName = GeneralUtils.CreateTypedDataTableColumn("ShipName", @"ShipName", typeof(System.String), this.Columns); _columnShipAddress = GeneralUtils.CreateTypedDataTableColumn("ShipAddress", @"ShipAddress", typeof(System.String), this.Columns); _columnShipCity = GeneralUtils.CreateTypedDataTableColumn("ShipCity", @"ShipCity", typeof(System.String), this.Columns); _columnShipRegion = GeneralUtils.CreateTypedDataTableColumn("ShipRegion", @"ShipRegion", typeof(System.String), this.Columns); _columnShipPostalCode = GeneralUtils.CreateTypedDataTableColumn("ShipPostalCode", @"ShipPostalCode", typeof(System.String), this.Columns); _columnShipCountry = GeneralUtils.CreateTypedDataTableColumn("ShipCountry", @"ShipCountry", typeof(System.String), this.Columns); _columnCompanyName = GeneralUtils.CreateTypedDataTableColumn("CompanyName", @"CompanyName", typeof(System.String), this.Columns); _columnAddress = GeneralUtils.CreateTypedDataTableColumn("Address", @"Address", typeof(System.String), this.Columns); _columnCity = GeneralUtils.CreateTypedDataTableColumn("City", @"City", typeof(System.String), this.Columns); _columnRegion = GeneralUtils.CreateTypedDataTableColumn("Region", @"Region", typeof(System.String), this.Columns); _columnPostalCode = GeneralUtils.CreateTypedDataTableColumn("PostalCode", @"PostalCode", typeof(System.String), this.Columns); _columnCountry = GeneralUtils.CreateTypedDataTableColumn("Country", @"Country", typeof(System.String), this.Columns); // __LLBLGENPRO_USER_CODE_REGION_START InitClass // __LLBLGENPRO_USER_CODE_REGION_END OnInitialized(); }
/// <summary> /// Initialize the datastructures. /// </summary> protected override void InitClass() { TableName = "OrdersQry"; _columnOrderId = GeneralUtils.CreateTypedDataTableColumn("OrderId", @"OrderId", typeof(System.Int32), this.Columns); _columnCustomerId = GeneralUtils.CreateTypedDataTableColumn("CustomerId", @"CustomerId", typeof(System.String), this.Columns); _columnEmployeeId = GeneralUtils.CreateTypedDataTableColumn("EmployeeId", @"EmployeeId", typeof(System.Int32), this.Columns); _columnOrderDate = GeneralUtils.CreateTypedDataTableColumn("OrderDate", @"OrderDate", typeof(System.DateTime), this.Columns); _columnRequiredDate = GeneralUtils.CreateTypedDataTableColumn("RequiredDate", @"RequiredDate", typeof(System.DateTime), this.Columns); _columnShippedDate = GeneralUtils.CreateTypedDataTableColumn("ShippedDate", @"ShippedDate", typeof(System.DateTime), this.Columns); _columnShipVia = GeneralUtils.CreateTypedDataTableColumn("ShipVia", @"ShipVia", typeof(System.Int32), this.Columns); _columnFreight = GeneralUtils.CreateTypedDataTableColumn("Freight", @"Freight", typeof(System.Decimal), this.Columns); _columnShipName = GeneralUtils.CreateTypedDataTableColumn("ShipName", @"ShipName", typeof(System.String), this.Columns); _columnShipAddress = GeneralUtils.CreateTypedDataTableColumn("ShipAddress", @"ShipAddress", typeof(System.String), this.Columns); _columnShipCity = GeneralUtils.CreateTypedDataTableColumn("ShipCity", @"ShipCity", typeof(System.String), this.Columns); _columnShipRegion = GeneralUtils.CreateTypedDataTableColumn("ShipRegion", @"ShipRegion", typeof(System.String), this.Columns); _columnShipPostalCode = GeneralUtils.CreateTypedDataTableColumn("ShipPostalCode", @"ShipPostalCode", typeof(System.String), this.Columns); _columnShipCountry = GeneralUtils.CreateTypedDataTableColumn("ShipCountry", @"ShipCountry", typeof(System.String), this.Columns); _columnCompanyName = GeneralUtils.CreateTypedDataTableColumn("CompanyName", @"CompanyName", typeof(System.String), this.Columns); _columnAddress = GeneralUtils.CreateTypedDataTableColumn("Address", @"Address", typeof(System.String), this.Columns); _columnCity = GeneralUtils.CreateTypedDataTableColumn("City", @"City", typeof(System.String), this.Columns); _columnRegion = GeneralUtils.CreateTypedDataTableColumn("Region", @"Region", typeof(System.String), this.Columns); _columnPostalCode = GeneralUtils.CreateTypedDataTableColumn("PostalCode", @"PostalCode", typeof(System.String), this.Columns); _columnCountry = GeneralUtils.CreateTypedDataTableColumn("Country", @"Country", typeof(System.String), this.Columns); _fields = EntityFieldsFactory.CreateTypedViewEntityFieldsObject(TypedViewType.OrdersQryTypedView); // __LLBLGENPRO_USER_CODE_REGION_START AdditionalFields // be sure to call _fields.Expand(number of new fields) first. // __LLBLGENPRO_USER_CODE_REGION_END OnInitialized(); }
/// <summary>Initialize the datastructures.</summary> protected override void InitClass() { TableName = "ChannelType1"; _columnChannelTypeId = GeneralUtils.CreateTypedDataTableColumn("ChannelTypeId", @"ChannelTypeId", typeof(System.Int32), this.Columns); _columnChannelTypeName = GeneralUtils.CreateTypedDataTableColumn("ChannelTypeName", @"ChannelTypeName", typeof(System.String), this.Columns); // __LLBLGENPRO_USER_CODE_REGION_START InitClass // __LLBLGENPRO_USER_CODE_REGION_END OnInitialized(); }
/// <summary>Initialize the datastructures.</summary> protected override void InitClass() { TableName = "OrderSubtotal"; _columnOrderId = GeneralUtils.CreateTypedDataTableColumn("OrderId", @"OrderId", typeof(System.Int32), this.Columns); _columnSubtotal = GeneralUtils.CreateTypedDataTableColumn("Subtotal", @"Subtotal", typeof(System.Decimal), this.Columns); // __LLBLGENPRO_USER_CODE_REGION_START InitClass // __LLBLGENPRO_USER_CODE_REGION_END OnInitialized(); }
/// <summary>Initialize the datastructures.</summary> protected override void InitClass() { TableName = "CategorySalesFor1997"; _columnCategoryName = GeneralUtils.CreateTypedDataTableColumn("CategoryName", @"CategoryName", typeof(System.String), this.Columns); _columnCategorySales = GeneralUtils.CreateTypedDataTableColumn("CategorySales", @"CategorySales", typeof(System.Decimal), this.Columns); // __LLBLGENPRO_USER_CODE_REGION_START InitClass // __LLBLGENPRO_USER_CODE_REGION_END OnInitialized(); }
/// <summary>Initialize the datastructures.</summary> protected override void InitClass() { TableName = "ProductsAboveAveragePrice"; _columnProductName = GeneralUtils.CreateTypedDataTableColumn("ProductName", @"ProductName", typeof(System.String), this.Columns); _columnUnitPrice = GeneralUtils.CreateTypedDataTableColumn("UnitPrice", @"UnitPrice", typeof(System.Decimal), this.Columns); // __LLBLGENPRO_USER_CODE_REGION_START InitClass // __LLBLGENPRO_USER_CODE_REGION_END OnInitialized(); }
/// <summary>Initialize the datastructures.</summary> protected override void InitClass() { TableName = "RedemptionCode1"; _columnRedemptionCodeId = GeneralUtils.CreateTypedDataTableColumn("RedemptionCodeId", @"RedemptionCodeId", typeof(System.Int32), this.Columns); _columnOfferCode = GeneralUtils.CreateTypedDataTableColumn("OfferCode", @"OfferCode", typeof(System.String), this.Columns); _columnDescription = GeneralUtils.CreateTypedDataTableColumn("Description", @"Description", typeof(System.String), this.Columns); // __LLBLGENPRO_USER_CODE_REGION_START InitClass // __LLBLGENPRO_USER_CODE_REGION_END OnInitialized(); }
/// <summary>Initialize the datastructures.</summary> protected override void InitClass() { TableName = "CampaignItem1"; _columnCampaignItemId = GeneralUtils.CreateTypedDataTableColumn("CampaignItemId", @"CampaignItemId", typeof(System.Int32), this.Columns); _columnCampaignId = GeneralUtils.CreateTypedDataTableColumn("CampaignId", @"CampaignId", typeof(System.Int32), this.Columns); _columnProductId = GeneralUtils.CreateTypedDataTableColumn("ProductId", @"ProductId", typeof(System.Int32), this.Columns); _columnDateAdded = GeneralUtils.CreateTypedDataTableColumn("DateAdded", @"DateAdded", typeof(System.DateTime), this.Columns); // __LLBLGENPRO_USER_CODE_REGION_START InitClass // __LLBLGENPRO_USER_CODE_REGION_END OnInitialized(); }
/// <summary>Initialize the datastructures.</summary> protected override void InitClass() { TableName = "SalesTotalsByAmount"; _columnSaleAmount = GeneralUtils.CreateTypedDataTableColumn("SaleAmount", @"SaleAmount", typeof(System.Decimal), this.Columns); _columnOrderId = GeneralUtils.CreateTypedDataTableColumn("OrderId", @"OrderId", typeof(System.Int32), this.Columns); _columnCompanyName = GeneralUtils.CreateTypedDataTableColumn("CompanyName", @"CompanyName", typeof(System.String), this.Columns); _columnShippedDate = GeneralUtils.CreateTypedDataTableColumn("ShippedDate", @"ShippedDate", typeof(System.DateTime), this.Columns); // __LLBLGENPRO_USER_CODE_REGION_START InitClass // __LLBLGENPRO_USER_CODE_REGION_END OnInitialized(); }
/// <summary> /// Initialize the datastructures. /// </summary> protected override void InitClass() { TableName = "CategorySalesFor1997"; _columnCategoryName = GeneralUtils.CreateTypedDataTableColumn("CategoryName", @"CategoryName", typeof(System.String), this.Columns); _columnCategorySales = GeneralUtils.CreateTypedDataTableColumn("CategorySales", @"CategorySales", typeof(System.Decimal), this.Columns); _fields = EntityFieldsFactory.CreateTypedViewEntityFieldsObject(TypedViewType.CategorySalesFor1997TypedView); // __LLBLGENPRO_USER_CODE_REGION_START AdditionalFields // be sure to call _fields.Expand(number of new fields) first. // __LLBLGENPRO_USER_CODE_REGION_END OnInitialized(); }
/// <summary> /// Initialize the datastructures. /// </summary> protected override void InitClass() { TableName = "CurrentProductList"; _columnProductId = GeneralUtils.CreateTypedDataTableColumn("ProductId", @"ProductId", typeof(System.Int32), this.Columns); _columnProductName = GeneralUtils.CreateTypedDataTableColumn("ProductName", @"ProductName", typeof(System.String), this.Columns); _fields = EntityFieldsFactory.CreateTypedViewEntityFieldsObject(TypedViewType.CurrentProductListTypedView); // __LLBLGENPRO_USER_CODE_REGION_START AdditionalFields // be sure to call _fields.Expand(number of new fields) first. // __LLBLGENPRO_USER_CODE_REGION_END OnInitialized(); }
/// <summary> /// Initialize the datastructures. /// </summary> protected override void InitClass() { TableName = "OrderSubtotal"; _columnOrderId = GeneralUtils.CreateTypedDataTableColumn("OrderId", @"OrderId", typeof(System.Int32), this.Columns); _columnSubtotal = GeneralUtils.CreateTypedDataTableColumn("Subtotal", @"Subtotal", typeof(System.Decimal), this.Columns); _fields = EntityFieldsFactory.CreateTypedViewEntityFieldsObject(TypedViewType.OrderSubtotalTypedView); // __LLBLGENPRO_USER_CODE_REGION_START AdditionalFields // be sure to call _fields.Expand(number of new fields) first. // __LLBLGENPRO_USER_CODE_REGION_END OnInitialized(); }
/// <summary>Initialize the datastructures.</summary> protected override void InitClass() { TableName = "QuarterlyOrder"; _columnCustomerId = GeneralUtils.CreateTypedDataTableColumn("CustomerId", @"CustomerId", typeof(System.String), this.Columns); _columnCompanyName = GeneralUtils.CreateTypedDataTableColumn("CompanyName", @"CompanyName", typeof(System.String), this.Columns); _columnCity = GeneralUtils.CreateTypedDataTableColumn("City", @"City", typeof(System.String), this.Columns); _columnCountry = GeneralUtils.CreateTypedDataTableColumn("Country", @"Country", typeof(System.String), this.Columns); // __LLBLGENPRO_USER_CODE_REGION_START InitClass // __LLBLGENPRO_USER_CODE_REGION_END OnInitialized(); }
/// <summary>Initialize the datastructures.</summary> protected override void InitClass() { TableName = "CustomerAndSuppliersByCity"; _columnCity = GeneralUtils.CreateTypedDataTableColumn("City", @"City", typeof(System.String), this.Columns); _columnCompanyName = GeneralUtils.CreateTypedDataTableColumn("CompanyName", @"CompanyName", typeof(System.String), this.Columns); _columnContactName = GeneralUtils.CreateTypedDataTableColumn("ContactName", @"ContactName", typeof(System.String), this.Columns); _columnRelationship = GeneralUtils.CreateTypedDataTableColumn("Relationship", @"Relationship", typeof(System.String), this.Columns); // __LLBLGENPRO_USER_CODE_REGION_START InitClass // __LLBLGENPRO_USER_CODE_REGION_END OnInitialized(); }
/// <summary>Initialize the datastructures.</summary> protected override void InitClass() { TableName = "ProductsByCategory"; _columnCategoryName = GeneralUtils.CreateTypedDataTableColumn("CategoryName", @"CategoryName", typeof(System.String), this.Columns); _columnProductName = GeneralUtils.CreateTypedDataTableColumn("ProductName", @"ProductName", typeof(System.String), this.Columns); _columnQuantityPerUnit = GeneralUtils.CreateTypedDataTableColumn("QuantityPerUnit", @"QuantityPerUnit", typeof(System.String), this.Columns); _columnUnitsInStock = GeneralUtils.CreateTypedDataTableColumn("UnitsInStock", @"UnitsInStock", typeof(System.Int16), this.Columns); _columnDiscontinued = GeneralUtils.CreateTypedDataTableColumn("Discontinued", @"Discontinued", typeof(System.Boolean), this.Columns); // __LLBLGENPRO_USER_CODE_REGION_START InitClass // __LLBLGENPRO_USER_CODE_REGION_END OnInitialized(); }
/// <summary>Initialize the datastructures.</summary> /// <param name="obeyWeakRelations">flag for the internal used relations object</param> protected override void InitClass(bool obeyWeakRelations) { _columnThreadID = GeneralUtils.CreateTypedDataTableColumn("ThreadID", @"ThreadID", typeof(System.Int32), this.Columns); _columnSubject = GeneralUtils.CreateTypedDataTableColumn("Subject", @"Subject", typeof(System.String), this.Columns); _columnForumName = GeneralUtils.CreateTypedDataTableColumn("ForumName", @"ForumName", typeof(System.String), this.Columns); _columnSectionName = GeneralUtils.CreateTypedDataTableColumn("SectionName", @"SectionName", typeof(System.String), this.Columns); _columnThreadLastPostingDate = GeneralUtils.CreateTypedDataTableColumn("ThreadLastPostingDate", @"ThreadLastPostingDate", typeof(System.DateTime), this.Columns); // __LLBLGENPRO_USER_CODE_REGION_START InitClass // __LLBLGENPRO_USER_CODE_REGION_END this.ObeyWeakRelations = obeyWeakRelations; OnInitialized(); }
/// <summary>Initialize the datastructures.</summary> protected override void InitClass() { TableName = "SalesByCategory"; _columnCategoryId = GeneralUtils.CreateTypedDataTableColumn("CategoryId", @"CategoryId", typeof(System.Int32), this.Columns); _columnCategoryName = GeneralUtils.CreateTypedDataTableColumn("CategoryName", @"CategoryName", typeof(System.String), this.Columns); _columnProductName = GeneralUtils.CreateTypedDataTableColumn("ProductName", @"ProductName", typeof(System.String), this.Columns); _columnProductSales = GeneralUtils.CreateTypedDataTableColumn("ProductSales", @"ProductSales", typeof(System.Decimal), this.Columns); _fields = ModelInfoProviderSingleton.GetInstance().GetTypedViewFields("SalesByCategoryTypedView"); // __LLBLGENPRO_USER_CODE_REGION_START AdditionalFields // be sure to call _fields.Expand(number of new fields) first. // __LLBLGENPRO_USER_CODE_REGION_END OnInitialized(); }
/// <summary> /// Initialize the datastructures. /// </summary> protected override void InitClass() { TableName = "QuarterlyOrder"; _columnCustomerId = GeneralUtils.CreateTypedDataTableColumn("CustomerId", @"CustomerId", typeof(System.String), this.Columns); _columnCompanyName = GeneralUtils.CreateTypedDataTableColumn("CompanyName", @"CompanyName", typeof(System.String), this.Columns); _columnCity = GeneralUtils.CreateTypedDataTableColumn("City", @"City", typeof(System.String), this.Columns); _columnCountry = GeneralUtils.CreateTypedDataTableColumn("Country", @"Country", typeof(System.String), this.Columns); _fields = EntityFieldsFactory.CreateTypedViewEntityFieldsObject(TypedViewType.QuarterlyOrderTypedView); // __LLBLGENPRO_USER_CODE_REGION_START AdditionalFields // be sure to call _fields.Expand(number of new fields) first. // __LLBLGENPRO_USER_CODE_REGION_END OnInitialized(); }
/// <summary>Initialize the datastructures.</summary> /// <param name="obeyWeakRelations">flag for the internal used relations object</param> protected override void InitClass(bool obeyWeakRelations) { _columnForumID = GeneralUtils.CreateTypedDataTableColumn("ForumID", @"ForumID", typeof(System.Int32), this.Columns); _columnForumName = GeneralUtils.CreateTypedDataTableColumn("ForumName", @"ForumName", typeof(System.String), this.Columns); _columnSectionName = GeneralUtils.CreateTypedDataTableColumn("SectionName", @"SectionName", typeof(System.String), this.Columns); _columnForumDescription = GeneralUtils.CreateTypedDataTableColumn("ForumDescription", @"ForumDescription", typeof(System.String), this.Columns); _columnSectionID = GeneralUtils.CreateTypedDataTableColumn("SectionID", @"SectionID", typeof(System.Int32), this.Columns); _columnForumOrderNo = GeneralUtils.CreateTypedDataTableColumn("ForumOrderNo", @"ForumOrderNo", typeof(System.Int16), this.Columns); // __LLBLGENPRO_USER_CODE_REGION_START InitClass // __LLBLGENPRO_USER_CODE_REGION_END this.ObeyWeakRelations = obeyWeakRelations; OnInitialized(); }
/// <summary> /// Initialize the datastructures. /// </summary> protected override void InitClass() { TableName = "CustomerAndSuppliersByCity"; _columnCity = GeneralUtils.CreateTypedDataTableColumn("City", @"City", typeof(System.String), this.Columns); _columnCompanyName = GeneralUtils.CreateTypedDataTableColumn("CompanyName", @"CompanyName", typeof(System.String), this.Columns); _columnContactName = GeneralUtils.CreateTypedDataTableColumn("ContactName", @"ContactName", typeof(System.String), this.Columns); _columnRelationship = GeneralUtils.CreateTypedDataTableColumn("Relationship", @"Relationship", typeof(System.String), this.Columns); _fields = EntityFieldsFactory.CreateTypedViewEntityFieldsObject(TypedViewType.CustomerAndSuppliersByCityTypedView); // __LLBLGENPRO_USER_CODE_REGION_START AdditionalFields // be sure to call _fields.Expand(number of new fields) first. // __LLBLGENPRO_USER_CODE_REGION_END OnInitialized(); }
/// <summary> /// Initialize the datastructures. /// </summary> protected override void InitClass() { TableName = "SalesTotalsByAmount"; _columnSaleAmount = GeneralUtils.CreateTypedDataTableColumn("SaleAmount", @"SaleAmount", typeof(System.Decimal), this.Columns); _columnOrderId = GeneralUtils.CreateTypedDataTableColumn("OrderId", @"OrderId", typeof(System.Int32), this.Columns); _columnCompanyName = GeneralUtils.CreateTypedDataTableColumn("CompanyName", @"CompanyName", typeof(System.String), this.Columns); _columnShippedDate = GeneralUtils.CreateTypedDataTableColumn("ShippedDate", @"ShippedDate", typeof(System.DateTime), this.Columns); _fields = EntityFieldsFactory.CreateTypedViewEntityFieldsObject(TypedViewType.SalesTotalsByAmountTypedView); // __LLBLGENPRO_USER_CODE_REGION_START AdditionalFields // be sure to call _fields.Expand(number of new fields) first. // __LLBLGENPRO_USER_CODE_REGION_END OnInitialized(); }
/// <summary>Initialize the datastructures.</summary> protected override void InitClass() { TableName = "ChannelItem1"; _columnChannelItemId = GeneralUtils.CreateTypedDataTableColumn("ChannelItemId", @"ChannelItemId", typeof(System.Int32), this.Columns); _columnChannelId = GeneralUtils.CreateTypedDataTableColumn("ChannelId", @"ChannelId", typeof(System.Int32), this.Columns); _columnProductId = GeneralUtils.CreateTypedDataTableColumn("ProductId", @"ProductId", typeof(System.Int32), this.Columns); _columnTesterMerchQty = GeneralUtils.CreateTypedDataTableColumn("TesterMerchQty", @"TesterMerchQty", typeof(System.Int32), this.Columns); _columnLiveMerchQty = GeneralUtils.CreateTypedDataTableColumn("LiveMerchQty", @"LiveMerchQty", typeof(System.Int32), this.Columns); _columnNumStores = GeneralUtils.CreateTypedDataTableColumn("NumStores", @"NumStores", typeof(System.Int32), this.Columns); _columnComments = GeneralUtils.CreateTypedDataTableColumn("Comments", @"Comments", typeof(System.String), this.Columns); _columnSampleQty = GeneralUtils.CreateTypedDataTableColumn("SampleQty", @"SampleQty", typeof(System.Int32), this.Columns); // __LLBLGENPRO_USER_CODE_REGION_START InitClass // __LLBLGENPRO_USER_CODE_REGION_END OnInitialized(); }
/// <summary>Initialize the datastructures.</summary> protected override void InitClass() { TableName = "OrderDetailsExtended"; _columnOrderId = GeneralUtils.CreateTypedDataTableColumn("OrderId", @"OrderId", typeof(System.Int32), this.Columns); _columnProductId = GeneralUtils.CreateTypedDataTableColumn("ProductId", @"ProductId", typeof(System.Int32), this.Columns); _columnProductName = GeneralUtils.CreateTypedDataTableColumn("ProductName", @"ProductName", typeof(System.String), this.Columns); _columnUnitPrice = GeneralUtils.CreateTypedDataTableColumn("UnitPrice", @"UnitPrice", typeof(System.Decimal), this.Columns); _columnQuantity = GeneralUtils.CreateTypedDataTableColumn("Quantity", @"Quantity", typeof(System.Int16), this.Columns); _columnDiscount = GeneralUtils.CreateTypedDataTableColumn("Discount", @"Discount", typeof(System.Single), this.Columns); _columnExtendedPrice = GeneralUtils.CreateTypedDataTableColumn("ExtendedPrice", @"ExtendedPrice", typeof(System.Decimal), this.Columns); // __LLBLGENPRO_USER_CODE_REGION_START InitClass // __LLBLGENPRO_USER_CODE_REGION_END OnInitialized(); }
/// <summary> /// Initialize the datastructures. /// </summary> protected override void InitClass() { TableName = "ProductsByCategory"; _columnCategoryName = GeneralUtils.CreateTypedDataTableColumn("CategoryName", @"CategoryName", typeof(System.String), this.Columns); _columnProductName = GeneralUtils.CreateTypedDataTableColumn("ProductName", @"ProductName", typeof(System.String), this.Columns); _columnQuantityPerUnit = GeneralUtils.CreateTypedDataTableColumn("QuantityPerUnit", @"QuantityPerUnit", typeof(System.String), this.Columns); _columnUnitsInStock = GeneralUtils.CreateTypedDataTableColumn("UnitsInStock", @"UnitsInStock", typeof(System.Int16), this.Columns); _columnDiscontinued = GeneralUtils.CreateTypedDataTableColumn("Discontinued", @"Discontinued", typeof(System.Boolean), this.Columns); _fields = EntityFieldsFactory.CreateTypedViewEntityFieldsObject(TypedViewType.ProductsByCategoryTypedView); // __LLBLGENPRO_USER_CODE_REGION_START AdditionalFields // be sure to call _fields.Expand(number of new fields) first. // __LLBLGENPRO_USER_CODE_REGION_END OnInitialized(); }
/// <summary>Initialize the datastructures.</summary> /// <param name="obeyWeakRelations">flag for the internal used relations object</param> protected override void InitClass(bool obeyWeakRelations) { _columnMessageID = GeneralUtils.CreateTypedDataTableColumn("MessageID", @"MessageID", typeof(System.Int32), this.Columns); _columnPostingDate = GeneralUtils.CreateTypedDataTableColumn("PostingDate", @"PostingDate", typeof(System.DateTime), this.Columns); _columnMessageTextAsHTML = GeneralUtils.CreateTypedDataTableColumn("MessageTextAsHTML", @"MessageTextAsHTML", typeof(System.String), this.Columns); _columnThreadID = GeneralUtils.CreateTypedDataTableColumn("ThreadID", @"ThreadID", typeof(System.Int32), this.Columns); _columnSubject = GeneralUtils.CreateTypedDataTableColumn("Subject", @"Subject", typeof(System.String), this.Columns); _columnEmailAddress = GeneralUtils.CreateTypedDataTableColumn("EmailAddress", @"EmailAddress", typeof(System.String), this.Columns); _columnEmailAddressIsPublic = GeneralUtils.CreateTypedDataTableColumn("EmailAddressIsPublic", @"EmailAddressIsPublic", typeof(System.Boolean), this.Columns); _columnNickName = GeneralUtils.CreateTypedDataTableColumn("NickName", @"NickName", typeof(System.String), this.Columns); _columnMessageText = GeneralUtils.CreateTypedDataTableColumn("MessageText", @"MessageText", typeof(System.String), this.Columns); // __LLBLGENPRO_USER_CODE_REGION_START InitClass // __LLBLGENPRO_USER_CODE_REGION_END this.ObeyWeakRelations = obeyWeakRelations; OnInitialized(); }
/// <summary> /// Initialize the datastructures. /// </summary> protected override void InitClass() { TableName = "OrderDetailsExtended"; _columnOrderId = GeneralUtils.CreateTypedDataTableColumn("OrderId", @"OrderId", typeof(System.Int32), this.Columns); _columnProductId = GeneralUtils.CreateTypedDataTableColumn("ProductId", @"ProductId", typeof(System.Int32), this.Columns); _columnProductName = GeneralUtils.CreateTypedDataTableColumn("ProductName", @"ProductName", typeof(System.String), this.Columns); _columnUnitPrice = GeneralUtils.CreateTypedDataTableColumn("UnitPrice", @"UnitPrice", typeof(System.Decimal), this.Columns); _columnQuantity = GeneralUtils.CreateTypedDataTableColumn("Quantity", @"Quantity", typeof(System.Int16), this.Columns); _columnDiscount = GeneralUtils.CreateTypedDataTableColumn("Discount", @"Discount", typeof(System.Single), this.Columns); _columnExtendedPrice = GeneralUtils.CreateTypedDataTableColumn("ExtendedPrice", @"ExtendedPrice", typeof(System.Decimal), this.Columns); _fields = EntityFieldsFactory.CreateTypedViewEntityFieldsObject(TypedViewType.OrderDetailsExtendedTypedView); // __LLBLGENPRO_USER_CODE_REGION_START AdditionalFields // be sure to call _fields.Expand(number of new fields) first. // __LLBLGENPRO_USER_CODE_REGION_END OnInitialized(); }
/// <summary>Initialize the datastructures.</summary> protected override void InitClass() { TableName = "Channel1"; _columnChannelId = GeneralUtils.CreateTypedDataTableColumn("ChannelId", @"ChannelId", typeof(System.Int32), this.Columns); _columnCampaignId = GeneralUtils.CreateTypedDataTableColumn("CampaignId", @"CampaignId", typeof(System.Int32), this.Columns); _columnChannelName = GeneralUtils.CreateTypedDataTableColumn("ChannelName", @"ChannelName", typeof(System.String), this.Columns); _columnChannelTypeId = GeneralUtils.CreateTypedDataTableColumn("ChannelTypeId", @"ChannelTypeId", typeof(System.Int32), this.Columns); _columnDescription = GeneralUtils.CreateTypedDataTableColumn("Description", @"Description", typeof(System.String), this.Columns); _columnStartDate = GeneralUtils.CreateTypedDataTableColumn("StartDate", @"StartDate", typeof(System.DateTime), this.Columns); _columnEndDate = GeneralUtils.CreateTypedDataTableColumn("EndDate", @"EndDate", typeof(System.DateTime), this.Columns); _columnChannelCode = GeneralUtils.CreateTypedDataTableColumn("ChannelCode", @"ChannelCode", typeof(System.String), this.Columns); _columnRedemptionCodeId = GeneralUtils.CreateTypedDataTableColumn("RedemptionCodeId", @"RedemptionCodeId", typeof(System.Int32), this.Columns); _columnIsLocked = GeneralUtils.CreateTypedDataTableColumn("IsLocked", @"IsLocked", typeof(System.Int32), this.Columns); _columnCreatedBy = GeneralUtils.CreateTypedDataTableColumn("CreatedBy", @"CreatedBy", typeof(System.String), this.Columns); _columnStoreOptionId = GeneralUtils.CreateTypedDataTableColumn("StoreOptionId", @"StoreOptionId", typeof(System.Int32), this.Columns); // __LLBLGENPRO_USER_CODE_REGION_START InitClass // __LLBLGENPRO_USER_CODE_REGION_END OnInitialized(); }
/// <summary>Initialize the datastructures.</summary> protected override void InitClass() { TableName = "AlphabeticalListOfProduct"; _columnProductId = GeneralUtils.CreateTypedDataTableColumn("ProductId", @"ProductId", typeof(System.Int32), this.Columns); _columnProductName = GeneralUtils.CreateTypedDataTableColumn("ProductName", @"ProductName", typeof(System.String), this.Columns); _columnSupplierId = GeneralUtils.CreateTypedDataTableColumn("SupplierId", @"SupplierId", typeof(System.Int32), this.Columns); _columnCategoryId = GeneralUtils.CreateTypedDataTableColumn("CategoryId", @"CategoryId", typeof(System.Int32), this.Columns); _columnQuantityPerUnit = GeneralUtils.CreateTypedDataTableColumn("QuantityPerUnit", @"QuantityPerUnit", typeof(System.String), this.Columns); _columnUnitPrice = GeneralUtils.CreateTypedDataTableColumn("UnitPrice", @"UnitPrice", typeof(System.Decimal), this.Columns); _columnUnitsInStock = GeneralUtils.CreateTypedDataTableColumn("UnitsInStock", @"UnitsInStock", typeof(System.Int16), this.Columns); _columnUnitsOnOrder = GeneralUtils.CreateTypedDataTableColumn("UnitsOnOrder", @"UnitsOnOrder", typeof(System.Int16), this.Columns); _columnReorderLevel = GeneralUtils.CreateTypedDataTableColumn("ReorderLevel", @"ReorderLevel", typeof(System.Int16), this.Columns); _columnDiscontinued = GeneralUtils.CreateTypedDataTableColumn("Discontinued", @"Discontinued", typeof(System.Boolean), this.Columns); _columnCategoryName = GeneralUtils.CreateTypedDataTableColumn("CategoryName", @"CategoryName", typeof(System.String), this.Columns); // __LLBLGENPRO_USER_CODE_REGION_START InitClass // __LLBLGENPRO_USER_CODE_REGION_END OnInitialized(); }
/// <summary>Initialize the datastructures.</summary> /// <param name="obeyWeakRelations">flag for the internal used relations object</param> protected override void InitClass(bool obeyWeakRelations) { _columnMessageID = GeneralUtils.CreateTypedDataTableColumn("MessageID", @"MessageID", typeof(System.Int32), this.Columns); _columnPostingDate = GeneralUtils.CreateTypedDataTableColumn("PostingDate", @"PostingDate", typeof(System.DateTime), this.Columns); _columnMessageTextAsHTML = GeneralUtils.CreateTypedDataTableColumn("MessageTextAsHTML", @"MessageTextAsHTML", typeof(System.String), this.Columns); _columnThreadID = GeneralUtils.CreateTypedDataTableColumn("ThreadID", @"ThreadID", typeof(System.Int32), this.Columns); _columnPostedFromIP = GeneralUtils.CreateTypedDataTableColumn("PostedFromIP", @"PostedFromIP", typeof(System.String), this.Columns); _columnUserID = GeneralUtils.CreateTypedDataTableColumn("UserID", @"UserID", typeof(System.Int32), this.Columns); _columnNickName = GeneralUtils.CreateTypedDataTableColumn("NickName", @"NickName", typeof(System.String), this.Columns); _columnSignatureAsHTML = GeneralUtils.CreateTypedDataTableColumn("SignatureAsHTML", @"SignatureAsHTML", typeof(System.String), this.Columns); _columnIconURL = GeneralUtils.CreateTypedDataTableColumn("IconURL", @"IconURL", typeof(System.String), this.Columns); _columnLocation = GeneralUtils.CreateTypedDataTableColumn("Location", @"Location", typeof(System.String), this.Columns); _columnJoinDate = GeneralUtils.CreateTypedDataTableColumn("JoinDate", @"JoinDate", typeof(System.DateTime), this.Columns); _columnAmountOfPostings = GeneralUtils.CreateTypedDataTableColumn("AmountOfPostings", @"AmountOfPostings", typeof(System.Int32), this.Columns); _columnUserTitleDescription = GeneralUtils.CreateTypedDataTableColumn("UserTitleDescription", @"UserTitleDescription", typeof(System.String), this.Columns); // __LLBLGENPRO_USER_CODE_REGION_START InitClass // __LLBLGENPRO_USER_CODE_REGION_END this.ObeyWeakRelations = obeyWeakRelations; OnInitialized(); }
/// <summary> /// Initialize the datastructures. /// </summary> protected override void InitClass() { TableName = "AlphabeticalListOfProduct"; _columnProductId = GeneralUtils.CreateTypedDataTableColumn("ProductId", @"ProductId", typeof(System.Int32), this.Columns); _columnProductName = GeneralUtils.CreateTypedDataTableColumn("ProductName", @"ProductName", typeof(System.String), this.Columns); _columnSupplierId = GeneralUtils.CreateTypedDataTableColumn("SupplierId", @"SupplierId", typeof(System.Int32), this.Columns); _columnCategoryId = GeneralUtils.CreateTypedDataTableColumn("CategoryId", @"CategoryId", typeof(System.Int32), this.Columns); _columnQuantityPerUnit = GeneralUtils.CreateTypedDataTableColumn("QuantityPerUnit", @"QuantityPerUnit", typeof(System.String), this.Columns); _columnUnitPrice = GeneralUtils.CreateTypedDataTableColumn("UnitPrice", @"UnitPrice", typeof(System.Decimal), this.Columns); _columnUnitsInStock = GeneralUtils.CreateTypedDataTableColumn("UnitsInStock", @"UnitsInStock", typeof(System.Int16), this.Columns); _columnUnitsOnOrder = GeneralUtils.CreateTypedDataTableColumn("UnitsOnOrder", @"UnitsOnOrder", typeof(System.Int16), this.Columns); _columnReorderLevel = GeneralUtils.CreateTypedDataTableColumn("ReorderLevel", @"ReorderLevel", typeof(System.Int16), this.Columns); _columnDiscontinued = GeneralUtils.CreateTypedDataTableColumn("Discontinued", @"Discontinued", typeof(System.Boolean), this.Columns); _columnCategoryName = GeneralUtils.CreateTypedDataTableColumn("CategoryName", @"CategoryName", typeof(System.String), this.Columns); _fields = EntityFieldsFactory.CreateTypedViewEntityFieldsObject(TypedViewType.AlphabeticalListOfProductTypedView); // __LLBLGENPRO_USER_CODE_REGION_START AdditionalFields // be sure to call _fields.Expand(number of new fields) first. // __LLBLGENPRO_USER_CODE_REGION_END OnInitialized(); }