/// <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>Initializes the members, after a clone action.</summary> private void InitMembers() { _columnOrderId = this.Columns["OrderId"]; _columnCustomerId = this.Columns["CustomerId"]; _columnEmployeeId = this.Columns["EmployeeId"]; _columnOrderDate = this.Columns["OrderDate"]; _columnRequiredDate = this.Columns["RequiredDate"]; _columnShippedDate = this.Columns["ShippedDate"]; _columnShipVia = this.Columns["ShipVia"]; _columnFreight = this.Columns["Freight"]; _columnShipName = this.Columns["ShipName"]; _columnShipAddress = this.Columns["ShipAddress"]; _columnShipCity = this.Columns["ShipCity"]; _columnShipRegion = this.Columns["ShipRegion"]; _columnShipPostalCode = this.Columns["ShipPostalCode"]; _columnShipCountry = this.Columns["ShipCountry"]; _columnCompanyName = this.Columns["CompanyName"]; _columnAddress = this.Columns["Address"]; _columnCity = this.Columns["City"]; _columnRegion = this.Columns["Region"]; _columnPostalCode = this.Columns["PostalCode"]; _columnCountry = this.Columns["Country"]; _fields = EntityFieldsFactory.CreateTypedViewEntityFieldsObject(TypedViewType.OrdersQryTypedView); // __LLBLGENPRO_USER_CODE_REGION_START InitMembers // __LLBLGENPRO_USER_CODE_REGION_END }
/// <summary>Initializes the members, after a clone action.</summary> private void InitMembers() { _columnShipName = this.Columns["ShipName"]; _columnShipAddress = this.Columns["ShipAddress"]; _columnShipCity = this.Columns["ShipCity"]; _columnShipRegion = this.Columns["ShipRegion"]; _columnShipPostalCode = this.Columns["ShipPostalCode"]; _columnShipCountry = this.Columns["ShipCountry"]; _columnCustomerId = this.Columns["CustomerId"]; _columnCustomerName = this.Columns["CustomerName"]; _columnAddress = this.Columns["Address"]; _columnCity = this.Columns["City"]; _columnRegion = this.Columns["Region"]; _columnPostalCode = this.Columns["PostalCode"]; _columnCountry = this.Columns["Country"]; _columnSalesperson = this.Columns["Salesperson"]; _columnOrderId = this.Columns["OrderId"]; _columnOrderDate = this.Columns["OrderDate"]; _columnRequiredDate = this.Columns["RequiredDate"]; _columnShippedDate = this.Columns["ShippedDate"]; _columnShipperName = this.Columns["ShipperName"]; _columnProductId = this.Columns["ProductId"]; _columnProductName = this.Columns["ProductName"]; _columnUnitPrice = this.Columns["UnitPrice"]; _columnQuantity = this.Columns["Quantity"]; _columnDiscount = this.Columns["Discount"]; _columnExtendedPrice = this.Columns["ExtendedPrice"]; _columnFreight = this.Columns["Freight"]; _fields = EntityFieldsFactory.CreateTypedViewEntityFieldsObject(TypedViewType.InvoicesTypedView); // __LLBLGENPRO_USER_CODE_REGION_START InitMembers // __LLBLGENPRO_USER_CODE_REGION_END }
/// <summary> /// Initialize the datastructures. /// </summary> protected override void InitClass() { TableName = "FranchiseeFranchiseeUser"; _columnOrganizationRoleUserId = new DataColumn("OrganizationRoleUserId", typeof(System.Int64), null, MappingType.Element); _columnOrganizationRoleUserId.ReadOnly = true; _columnOrganizationRoleUserId.Caption = @"OrganizationRoleUserId"; this.Columns.Add(_columnOrganizationRoleUserId); _columnUserId = new DataColumn("UserId", typeof(System.Int64), null, MappingType.Element); _columnUserId.ReadOnly = true; _columnUserId.Caption = @"UserId"; this.Columns.Add(_columnUserId); _columnOrganizationId = new DataColumn("OrganizationId", typeof(System.Int64), null, MappingType.Element); _columnOrganizationId.ReadOnly = true; _columnOrganizationId.Caption = @"OrganizationId"; this.Columns.Add(_columnOrganizationId); _columnRoleId = new DataColumn("RoleId", typeof(System.Int64), null, MappingType.Element); _columnRoleId.ReadOnly = true; _columnRoleId.Caption = @"RoleId"; this.Columns.Add(_columnRoleId); _columnIsActive = new DataColumn("IsActive", typeof(System.Boolean), null, MappingType.Element); _columnIsActive.ReadOnly = true; _columnIsActive.Caption = @"IsActive"; this.Columns.Add(_columnIsActive); _fields = EntityFieldsFactory.CreateTypedViewEntityFieldsObject(TypedViewType.FranchiseeFranchiseeUserTypedView); // __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 = "MedicalVendorMvuserEarningAndPayRate"; _columnOrganizationRoleUserId = new DataColumn("OrganizationRoleUserId", typeof(System.Int64), null, MappingType.Element); _columnOrganizationRoleUserId.ReadOnly = true; _columnOrganizationRoleUserId.Caption = @"OrganizationRoleUserId"; this.Columns.Add(_columnOrganizationRoleUserId); _columnOrganizationId = new DataColumn("OrganizationId", typeof(System.Int64), null, MappingType.Element); _columnOrganizationId.ReadOnly = true; _columnOrganizationId.Caption = @"OrganizationId"; this.Columns.Add(_columnOrganizationId); _columnOfferRate = new DataColumn("OfferRate", typeof(System.Decimal), null, MappingType.Element); _columnOfferRate.ReadOnly = true; _columnOfferRate.Caption = @"OfferRate"; this.Columns.Add(_columnOfferRate); _columnNumberOfEvaluations = new DataColumn("NumberOfEvaluations", typeof(System.Int32), null, MappingType.Element); _columnNumberOfEvaluations.ReadOnly = true; _columnNumberOfEvaluations.Caption = @"NumberOfEvaluations"; this.Columns.Add(_columnNumberOfEvaluations); _columnAmountEarned = new DataColumn("AmountEarned", typeof(System.Decimal), null, MappingType.Element); _columnAmountEarned.ReadOnly = true; _columnAmountEarned.Caption = @"AmountEarned"; this.Columns.Add(_columnAmountEarned); _fields = EntityFieldsFactory.CreateTypedViewEntityFieldsObject(TypedViewType.MedicalVendorMvuserEarningAndPayRateTypedView); // __LLBLGENPRO_USER_CODE_REGION_START AdditionalFields // be sure to call _fields.Expand(number of new fields) first. // __LLBLGENPRO_USER_CODE_REGION_END OnInitialized(); }
/// <summary>Initializes the members, after a clone action.</summary> private void InitMembers() { _columnCategoryName = this.Columns["CategoryName"]; _columnCategorySales = this.Columns["CategorySales"]; _fields = EntityFieldsFactory.CreateTypedViewEntityFieldsObject(TypedViewType.CategorySalesFor1997TypedView); // __LLBLGENPRO_USER_CODE_REGION_START InitMembers // __LLBLGENPRO_USER_CODE_REGION_END }
/// <summary>Initializes the members, after a clone action.</summary> private void InitMembers() { _columnProductName = this.Columns["ProductName"]; _columnUnitPrice = this.Columns["UnitPrice"]; _fields = EntityFieldsFactory.CreateTypedViewEntityFieldsObject(TypedViewType.ProductsAboveAveragePriceTypedView); // __LLBLGENPRO_USER_CODE_REGION_START InitMembers // __LLBLGENPRO_USER_CODE_REGION_END }
/// <summary>Initializes the members, after a clone action.</summary> private void InitMembers() { _columnOrderId = this.Columns["OrderId"]; _columnSubtotal = this.Columns["Subtotal"]; _fields = EntityFieldsFactory.CreateTypedViewEntityFieldsObject(TypedViewType.OrderSubtotalTypedView); // __LLBLGENPRO_USER_CODE_REGION_START InitMembers // __LLBLGENPRO_USER_CODE_REGION_END }
/// <summary>Initializes the members, after a clone action.</summary> private void InitMembers() { _columnProductId = this.Columns["ProductId"]; _columnProductName = this.Columns["ProductName"]; _fields = EntityFieldsFactory.CreateTypedViewEntityFieldsObject(TypedViewType.CurrentProductListTypedView); // __LLBLGENPRO_USER_CODE_REGION_START InitMembers // __LLBLGENPRO_USER_CODE_REGION_END }
/// <summary>Initializes the members, after a clone action.</summary> private void InitMembers() { _columnShippedDate = this.Columns["ShippedDate"]; _columnOrderId = this.Columns["OrderId"]; _columnSubtotal = this.Columns["Subtotal"]; _fields = EntityFieldsFactory.CreateTypedViewEntityFieldsObject(TypedViewType.SummaryOfSalesByQuarterTypedView); // __LLBLGENPRO_USER_CODE_REGION_START InitMembers // __LLBLGENPRO_USER_CODE_REGION_END }
/// <summary>Initializes the members, after a clone action.</summary> private void InitMembers() { _columnCity = this.Columns["City"]; _columnCompanyName = this.Columns["CompanyName"]; _columnContactName = this.Columns["ContactName"]; _columnRelationship = this.Columns["Relationship"]; _fields = EntityFieldsFactory.CreateTypedViewEntityFieldsObject(TypedViewType.CustomerAndSuppliersByCityTypedView); // __LLBLGENPRO_USER_CODE_REGION_START InitMembers // __LLBLGENPRO_USER_CODE_REGION_END }
/// <summary>Initializes the members, after a clone action.</summary> private void InitMembers() { _columnCustomerId = this.Columns["CustomerId"]; _columnCompanyName = this.Columns["CompanyName"]; _columnCity = this.Columns["City"]; _columnCountry = this.Columns["Country"]; _fields = EntityFieldsFactory.CreateTypedViewEntityFieldsObject(TypedViewType.QuarterlyOrderTypedView); // __LLBLGENPRO_USER_CODE_REGION_START InitMembers // __LLBLGENPRO_USER_CODE_REGION_END }
/// <summary> /// Initializes the members, after a clone action. /// </summary> private void InitMembers() { _columnOrganizationRoleUserId = this.Columns["OrganizationRoleUserId"]; _columnOrganizationId = this.Columns["OrganizationId"]; _columnAmountPaid = this.Columns["AmountPaid"]; _fields = EntityFieldsFactory.CreateTypedViewEntityFieldsObject(TypedViewType.MedicalVendorMvuserPaymentTypedView); // __LLBLGENPRO_USER_CODE_REGION_START InitMembers // __LLBLGENPRO_USER_CODE_REGION_END }
/// <summary> /// Initializes the members, after a clone action. /// </summary> private void InitMembers() { _columnOrganizationRoleUserId = this.Columns["OrganizationRoleUserId"]; _columnOrganizationId = this.Columns["OrganizationId"]; _columnPhysicianAmountEarned = this.Columns["PhysicianAmountEarned"]; _fields = EntityFieldsFactory.CreateTypedViewEntityFieldsObject(TypedViewType.MedicalVendorEarningInfoTypedView); // __LLBLGENPRO_USER_CODE_REGION_START InitMembers // __LLBLGENPRO_USER_CODE_REGION_END }
/// <summary>Initializes the members, after a clone action.</summary> private void InitMembers() { _columnSaleAmount = this.Columns["SaleAmount"]; _columnOrderId = this.Columns["OrderId"]; _columnCompanyName = this.Columns["CompanyName"]; _columnShippedDate = this.Columns["ShippedDate"]; _fields = EntityFieldsFactory.CreateTypedViewEntityFieldsObject(TypedViewType.SalesTotalsByAmountTypedView); // __LLBLGENPRO_USER_CODE_REGION_START InitMembers // __LLBLGENPRO_USER_CODE_REGION_END }
/// <summary>Initializes the members, after a clone action.</summary> private void InitMembers() { _columnCategoryName = this.Columns["CategoryName"]; _columnProductName = this.Columns["ProductName"]; _columnQuantityPerUnit = this.Columns["QuantityPerUnit"]; _columnUnitsInStock = this.Columns["UnitsInStock"]; _columnDiscontinued = this.Columns["Discontinued"]; _fields = EntityFieldsFactory.CreateTypedViewEntityFieldsObject(TypedViewType.ProductsByCategoryTypedView); // __LLBLGENPRO_USER_CODE_REGION_START InitMembers // __LLBLGENPRO_USER_CODE_REGION_END }
/// <summary> /// Initializes the members, after a clone action. /// </summary> private void InitMembers() { _columnOrganizationRoleUserId = this.Columns["OrganizationRoleUserId"]; _columnOrganizationId = this.Columns["OrganizationId"]; _columnOfferRate = this.Columns["OfferRate"]; _columnNumberOfEvaluations = this.Columns["NumberOfEvaluations"]; _columnAmountEarned = this.Columns["AmountEarned"]; _fields = EntityFieldsFactory.CreateTypedViewEntityFieldsObject(TypedViewType.MedicalVendorMvuserEarningAndPayRateTypedView); // __LLBLGENPRO_USER_CODE_REGION_START InitMembers // __LLBLGENPRO_USER_CODE_REGION_END }
/// <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> /// Initializes the members, after a clone action. /// </summary> private void InitMembers() { _columnOrganizationRoleUserId = this.Columns["OrganizationRoleUserId"]; _columnUserId = this.Columns["UserId"]; _columnOrganizationId = this.Columns["OrganizationId"]; _columnRoleId = this.Columns["RoleId"]; _columnIsActive = this.Columns["IsActive"]; _fields = EntityFieldsFactory.CreateTypedViewEntityFieldsObject(TypedViewType.FranchiseeFranchiseeUserTypedView); // __LLBLGENPRO_USER_CODE_REGION_START InitMembers // __LLBLGENPRO_USER_CODE_REGION_END }
/// <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>Initializes the members, after a clone action.</summary> private void InitMembers() { _columnOrderId = this.Columns["OrderId"]; _columnProductId = this.Columns["ProductId"]; _columnProductName = this.Columns["ProductName"]; _columnUnitPrice = this.Columns["UnitPrice"]; _columnQuantity = this.Columns["Quantity"]; _columnDiscount = this.Columns["Discount"]; _columnExtendedPrice = this.Columns["ExtendedPrice"]; _fields = EntityFieldsFactory.CreateTypedViewEntityFieldsObject(TypedViewType.OrderDetailsExtendedTypedView); // __LLBLGENPRO_USER_CODE_REGION_START InitMembers // __LLBLGENPRO_USER_CODE_REGION_END }
/// <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> 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 = "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 = "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> /// Initializes the members, after a clone action. /// </summary> private void InitMembers() { _columnEventCustomerResultId = this.Columns["EventCustomerResultId"]; _columnEventId = this.Columns["EventId"]; _columnCustomerId = this.Columns["CustomerId"]; _columnPhysicianId = this.Columns["PhysicianId"]; _columnOverreadPhysicianId = this.Columns["OverreadPhysicianId"]; _columnIsAtOverreadState = this.Columns["IsAtOverreadState"]; _columnEvaluatedByOrgRoleUserId = this.Columns["EvaluatedByOrgRoleUserId"]; _columnUpdatedOn = this.Columns["UpdatedOn"]; _fields = EntityFieldsFactory.CreateTypedViewEntityFieldsObject(TypedViewType.PhysicianQueueRecordTypedView); // __LLBLGENPRO_USER_CODE_REGION_START InitMembers // __LLBLGENPRO_USER_CODE_REGION_END }
internal static IEntityField2 GetField(TypedViewType typedViewType, string fieldName) { var fields = EntityFieldsFactory.CreateTypedViewEntityFieldsObject(typedViewType); return ((IEntityField2)fields.FirstOrDefault( f => f.Name.Equals(fieldName, StringComparison.OrdinalIgnoreCase))); /* * return * (IEntityField2)fields.FirstOrDefault( * f => * !string.IsNullOrEmpty(f.Alias) * ? f.Alias.Equals(fieldName, StringComparison.OrdinalIgnoreCase) * : f.Name.Equals(fieldName, StringComparison.OrdinalIgnoreCase)); */ }
/// <summary>Initializes the members, after a clone action.</summary> private void InitMembers() { _columnProductId = this.Columns["ProductId"]; _columnProductName = this.Columns["ProductName"]; _columnSupplierId = this.Columns["SupplierId"]; _columnCategoryId = this.Columns["CategoryId"]; _columnQuantityPerUnit = this.Columns["QuantityPerUnit"]; _columnUnitPrice = this.Columns["UnitPrice"]; _columnUnitsInStock = this.Columns["UnitsInStock"]; _columnUnitsOnOrder = this.Columns["UnitsOnOrder"]; _columnReorderLevel = this.Columns["ReorderLevel"]; _columnDiscontinued = this.Columns["Discontinued"]; _columnCategoryName = this.Columns["CategoryName"]; _fields = EntityFieldsFactory.CreateTypedViewEntityFieldsObject(TypedViewType.AlphabeticalListOfProductTypedView); // __LLBLGENPRO_USER_CODE_REGION_START InitMembers // __LLBLGENPRO_USER_CODE_REGION_END }
/// <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(); }