/// <summary>
        /// Create a new SalesPerson object.
        /// </summary>
        /// <param name="orderID">Initial value of the OrderID property.</param>
        /// <param name="firstName">Initial value of the FirstName property.</param>
        /// <param name="lastName">Initial value of the LastName property.</param>
        /// <param name="productName">Initial value of the ProductName property.</param>
        /// <param name="categoryName">Initial value of the CategoryName property.</param>
        /// <param name="unitPrice">Initial value of the UnitPrice property.</param>
        /// <param name="quantity">Initial value of the Quantity property.</param>
        /// <param name="discount">Initial value of the Discount property.</param>
        /// <param name="sales_Person">Initial value of the Sales_Person property.</param>
        public static SalesPerson CreateSalesPerson(global::System.Int32 orderID, global::System.String firstName, global::System.String lastName, global::System.String productName, global::System.String categoryName, global::System.Decimal unitPrice, global::System.Int16 quantity, global::System.Single discount, global::System.String sales_Person)
        {
            SalesPerson salesPerson = new SalesPerson();

            salesPerson.OrderID      = orderID;
            salesPerson.FirstName    = firstName;
            salesPerson.LastName     = lastName;
            salesPerson.ProductName  = productName;
            salesPerson.CategoryName = categoryName;
            salesPerson.UnitPrice    = unitPrice;
            salesPerson.Quantity     = quantity;
            salesPerson.Discount     = discount;
            salesPerson.Sales_Person = sales_Person;
            return(salesPerson);
        }
 partial void OnQuantityChanging(global::System.Int16 value);
 partial void OnC7_8_pmChanging(global::System.Int16 value);
Example #4
0
 partial void OnVacationHoursChanging(global::System.Int16 value);
Example #5
0
 partial void OnMaxHubSubscriptionsChanging(global::System.Int16 value);
 partial void OnC10_11_amChanging(global::System.Int16 value);
Example #7
0
 partial void OnCampaignIDChanging(global::System.Int16 value);
Example #8
0
 public SMALL_RECT(global::System.Int16 left, global::System.Int16 top, global::System.Int16 right, global::System.Int16 bottom)
 {
     Left   = left;
     Top    = top;
     Right  = right;
     Bottom = bottom;
 }
Example #9
0
        /// <summary>
        /// Create a new Campaign object.
        /// </summary>
        /// <param name="campaignID">Initial value of the CampaignID property.</param>
        /// <param name="name">Initial value of the Name property.</param>
        /// <param name="vendorID">Initial value of the VendorID property.</param>
        /// <param name="dateCreated">Initial value of the DateCreated property.</param>
        /// <param name="dateModified">Initial value of the DateModified property.</param>
        /// <param name="isActive">Initial value of the isActive property.</param>
        public static Campaign CreateCampaign(global::System.Int16 campaignID, global::System.String name, global::System.Int16 vendorID, global::System.DateTime dateCreated, global::System.DateTime dateModified, global::System.Boolean isActive)
        {
            Campaign campaign = new Campaign();

            campaign.CampaignID   = campaignID;
            campaign.Name         = name;
            campaign.VendorID     = vendorID;
            campaign.DateCreated  = dateCreated;
            campaign.DateModified = dateModified;
            campaign.isActive     = isActive;
            return(campaign);
        }
Example #10
0
        /// <summary>
        /// Create a new CampaignProperty object.
        /// </summary>
        /// <param name="propertyID">Initial value of the PropertyID property.</param>
        /// <param name="campaignID">Initial value of the CampaignID property.</param>
        /// <param name="propertyName">Initial value of the PropertyName property.</param>
        /// <param name="propertyValue">Initial value of the PropertyValue property.</param>
        /// <param name="dateCreated">Initial value of the DateCreated property.</param>
        /// <param name="dateModified">Initial value of the DateModified property.</param>
        public static CampaignProperty CreateCampaignProperty(global::System.Int32 propertyID, global::System.Int16 campaignID, global::System.String propertyName, global::System.String propertyValue, global::System.DateTime dateCreated, global::System.DateTime dateModified)
        {
            CampaignProperty campaignProperty = new CampaignProperty();

            campaignProperty.PropertyID    = propertyID;
            campaignProperty.CampaignID    = campaignID;
            campaignProperty.PropertyName  = propertyName;
            campaignProperty.PropertyValue = propertyValue;
            campaignProperty.DateCreated   = dateCreated;
            campaignProperty.DateModified  = dateModified;
            return(campaignProperty);
        }
 partial void OnUS_IDChanging(global::System.Int16 value);
Example #12
0
 partial void OnPRE_CODEChanging(global::System.Int16 value);
Example #13
0
 partial void OnSickLeaveHoursChanging(global::System.Int16 value);
Example #14
0
        /// <summary>
        /// Crear un nuevo objeto Usuarios.
        /// </summary>
        /// <param name="usuarioID">Valor inicial de la propiedad UsuarioID.</param>
        /// <param name="nIF">Valor inicial de la propiedad NIF.</param>
        /// <param name="rol">Valor inicial de la propiedad Rol.</param>
        public static Usuarios CreateUsuarios(global::System.Int32 usuarioID, global::System.String nIF, global::System.Int16 rol)
        {
            Usuarios usuarios = new Usuarios();

            usuarios.UsuarioID = usuarioID;
            usuarios.NIF       = nIF;
            usuarios.Rol       = rol;
            return(usuarios);
        }
Example #15
0
        /// <summary>
        /// Create a new VendorProperty object.
        /// </summary>
        /// <param name="propertyID">Initial value of the PropertyID property.</param>
        /// <param name="vendorID">Initial value of the VendorID property.</param>
        /// <param name="propertyName">Initial value of the PropertyName property.</param>
        /// <param name="propertyValue">Initial value of the PropertyValue property.</param>
        /// <param name="dateCreated">Initial value of the DateCreated property.</param>
        /// <param name="dateModified">Initial value of the DateModified property.</param>
        public static VendorProperty CreateVendorProperty(global::System.Int16 propertyID, global::System.Int16 vendorID, global::System.String propertyName, global::System.String propertyValue, global::System.DateTime dateCreated, global::System.DateTime dateModified)
        {
            VendorProperty vendorProperty = new VendorProperty();

            vendorProperty.PropertyID    = propertyID;
            vendorProperty.VendorID      = vendorID;
            vendorProperty.PropertyName  = propertyName;
            vendorProperty.PropertyValue = propertyValue;
            vendorProperty.DateCreated   = dateCreated;
            vendorProperty.DateModified  = dateModified;
            return(vendorProperty);
        }
Example #16
0
 partial void OnRolChanging(global::System.Int16 value);
Example #17
0
 partial void OnPropertyIDChanging(global::System.Int16 value);
Example #18
0
        /// <summary>
        /// Create a new User object.
        /// </summary>
        /// <param name="pubSubHubUser">Initial value of the PubSubHubUser property.</param>
        /// <param name="kwwikaTopic">Initial value of the KwwikaTopic property.</param>
        /// <param name="maxHubSubscriptions">Initial value of the MaxHubSubscriptions property.</param>
        public static User CreateUser(global::System.String pubSubHubUser, global::System.String kwwikaTopic, global::System.Int16 maxHubSubscriptions)
        {
            User user = new User();

            user.PubSubHubUser       = pubSubHubUser;
            user.KwwikaTopic         = kwwikaTopic;
            user.MaxHubSubscriptions = maxHubSubscriptions;
            return(user);
        }
Example #19
0
 partial void OnVendorIDChanging(global::System.Int16 value);
        /// <summary>
        /// Create a new bookingdetail object.
        /// </summary>
        /// <param name="bookingid">Initial value of the bookingid property.</param>
        /// <param name="memberid">Initial value of the memberid property.</param>
        /// <param name="equipmentid">Initial value of the equipmentid property.</param>
        /// <param name="dateofbooking">Initial value of the dateofbooking property.</param>
        /// <param name="c8_9_am">Initial value of the C8_9_am property.</param>
        /// <param name="c9_10_am">Initial value of the C9_10_am property.</param>
        /// <param name="c10_11_am">Initial value of the C10_11_am property.</param>
        /// <param name="c11_12_noon">Initial value of the C11_12_noon property.</param>
        /// <param name="c2_3_pm">Initial value of the C2_3_pm property.</param>
        /// <param name="c3_4_pm">Initial value of the C3_4_pm property.</param>
        /// <param name="c_4_5_pm">Initial value of the C_4_5_pm property.</param>
        /// <param name="c5_6_pm">Initial value of the C5_6_pm property.</param>
        /// <param name="c6_7_pm">Initial value of the C6_7_pm property.</param>
        /// <param name="c7_8_pm">Initial value of the C7_8_pm property.</param>
        public static bookingdetail Createbookingdetail(global::System.Int32 bookingid, global::System.Int32 memberid, global::System.Int32 equipmentid, global::System.DateTime dateofbooking, global::System.Int16 c8_9_am, global::System.Int16 c9_10_am, global::System.Int16 c10_11_am, global::System.Int16 c11_12_noon, global::System.Int16 c2_3_pm, global::System.Int16 c3_4_pm, global::System.Int16 c_4_5_pm, global::System.Int16 c5_6_pm, global::System.Int16 c6_7_pm, global::System.Int16 c7_8_pm)
        {
            bookingdetail bookingdetail = new bookingdetail();

            bookingdetail.bookingid     = bookingid;
            bookingdetail.memberid      = memberid;
            bookingdetail.equipmentid   = equipmentid;
            bookingdetail.dateofbooking = dateofbooking;
            bookingdetail.C8_9_am       = c8_9_am;
            bookingdetail.C9_10_am      = c9_10_am;
            bookingdetail.C10_11_am     = c10_11_am;
            bookingdetail.C11_12_noon   = c11_12_noon;
            bookingdetail.C2_3_pm       = c2_3_pm;
            bookingdetail.C3_4_pm       = c3_4_pm;
            bookingdetail.C_4_5_pm      = c_4_5_pm;
            bookingdetail.C5_6_pm       = c5_6_pm;
            bookingdetail.C6_7_pm       = c6_7_pm;
            bookingdetail.C7_8_pm       = c7_8_pm;
            return(bookingdetail);
        }
        /// <summary>
        /// Create a new Invoice object.
        /// </summary>
        /// <param name="customerName">Initial value of the CustomerName property.</param>
        /// <param name="salesperson">Initial value of the Salesperson property.</param>
        /// <param name="orderID">Initial value of the OrderID property.</param>
        /// <param name="shipperName">Initial value of the ShipperName property.</param>
        /// <param name="productID">Initial value of the ProductID property.</param>
        /// <param name="productName">Initial value of the ProductName property.</param>
        /// <param name="unitPrice">Initial value of the UnitPrice property.</param>
        /// <param name="quantity">Initial value of the Quantity property.</param>
        /// <param name="discount">Initial value of the Discount property.</param>
        public static Invoice CreateInvoice(global::System.String customerName, global::System.String salesperson, global::System.Int32 orderID, global::System.String shipperName, global::System.Int32 productID, global::System.String productName, global::System.Decimal unitPrice, global::System.Int16 quantity, global::System.Single discount)
        {
            Invoice invoice = new Invoice();

            invoice.CustomerName = customerName;
            invoice.Salesperson  = salesperson;
            invoice.OrderID      = orderID;
            invoice.ShipperName  = shipperName;
            invoice.ProductID    = productID;
            invoice.ProductName  = productName;
            invoice.UnitPrice    = unitPrice;
            invoice.Quantity     = quantity;
            invoice.Discount     = discount;
            return(invoice);
        }
 partial void OnC11_12_noonChanging(global::System.Int16 value);
        /// <summary>
        /// Create a new Order_Detail object.
        /// </summary>
        /// <param name="orderID">Initial value of the OrderID property.</param>
        /// <param name="productID">Initial value of the ProductID property.</param>
        /// <param name="unitPrice">Initial value of the UnitPrice property.</param>
        /// <param name="quantity">Initial value of the Quantity property.</param>
        /// <param name="discount">Initial value of the Discount property.</param>
        public static Order_Detail CreateOrder_Detail(global::System.Int32 orderID, global::System.Int32 productID, global::System.Decimal unitPrice, global::System.Int16 quantity, global::System.Single discount)
        {
            Order_Detail order_Detail = new Order_Detail();

            order_Detail.OrderID   = orderID;
            order_Detail.ProductID = productID;
            order_Detail.UnitPrice = unitPrice;
            order_Detail.Quantity  = quantity;
            order_Detail.Discount  = discount;
            return(order_Detail);
        }
        /// <summary>
        /// Create a new sportfacility object.
        /// </summary>
        /// <param name="equipmentname">Initial value of the equipmentname property.</param>
        /// <param name="equipmentid">Initial value of the equipmentid property.</param>
        /// <param name="facilityavailable">Initial value of the facilityavailable property.</param>
        public static sportfacility Createsportfacility(global::System.String equipmentname, global::System.Int32 equipmentid, global::System.Int16 facilityavailable)
        {
            sportfacility sportfacility = new sportfacility();

            sportfacility.equipmentname     = equipmentname;
            sportfacility.equipmentid       = equipmentid;
            sportfacility.facilityavailable = facilityavailable;
            return(sportfacility);
        }
Example #25
0
        /// <summary>
        /// Create a new Employee object.
        /// </summary>
        /// <param name="employeeID">Initial value of the EmployeeID property.</param>
        /// <param name="nationalIDNumber">Initial value of the NationalIDNumber property.</param>
        /// <param name="contactID">Initial value of the ContactID property.</param>
        /// <param name="loginID">Initial value of the LoginID property.</param>
        /// <param name="title">Initial value of the Title property.</param>
        /// <param name="birthDate">Initial value of the BirthDate property.</param>
        /// <param name="maritalStatus">Initial value of the MaritalStatus property.</param>
        /// <param name="gender">Initial value of the Gender property.</param>
        /// <param name="hireDate">Initial value of the HireDate property.</param>
        /// <param name="salariedFlag">Initial value of the SalariedFlag property.</param>
        /// <param name="vacationHours">Initial value of the VacationHours property.</param>
        /// <param name="sickLeaveHours">Initial value of the SickLeaveHours property.</param>
        /// <param name="currentFlag">Initial value of the CurrentFlag property.</param>
        /// <param name="rowguid">Initial value of the rowguid property.</param>
        /// <param name="modifiedDate">Initial value of the ModifiedDate property.</param>
        public static Employee CreateEmployee(global::System.Int32 employeeID, global::System.String nationalIDNumber, global::System.Int32 contactID, global::System.String loginID, global::System.String title, global::System.DateTime birthDate, global::System.String maritalStatus, global::System.String gender, global::System.DateTime hireDate, global::System.Boolean salariedFlag, global::System.Int16 vacationHours, global::System.Int16 sickLeaveHours, global::System.Boolean currentFlag, global::System.Guid rowguid, global::System.DateTime modifiedDate)
        {
            Employee employee = new Employee();

            employee.EmployeeID       = employeeID;
            employee.NationalIDNumber = nationalIDNumber;
            employee.ContactID        = contactID;
            employee.LoginID          = loginID;
            employee.Title            = title;
            employee.BirthDate        = birthDate;
            employee.MaritalStatus    = maritalStatus;
            employee.Gender           = gender;
            employee.HireDate         = hireDate;
            employee.SalariedFlag     = salariedFlag;
            employee.VacationHours    = vacationHours;
            employee.SickLeaveHours   = sickLeaveHours;
            employee.CurrentFlag      = currentFlag;
            employee.rowguid          = rowguid;
            employee.ModifiedDate     = modifiedDate;
            return(employee);
        }