Ejemplo n.º 1
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);
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the VendorProperties EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToVendorProperties(VendorProperty vendorProperty)
 {
     base.AddObject("VendorProperties", vendorProperty);
 }