Ejemplo n.º 1
0
 /// <summary>
 /// Create a new bvc_Category object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="description">Initial value of the Description property.</param>
 /// <param name="parentID">Initial value of the ParentID property.</param>
 /// <param name="sortOrder">Initial value of the SortOrder property.</param>
 /// <param name="metaTitle">Initial value of the MetaTitle property.</param>
 /// <param name="metaKeywords">Initial value of the MetaKeywords property.</param>
 /// <param name="metaDescription">Initial value of the MetaDescription property.</param>
 /// <param name="imageURL">Initial value of the ImageURL property.</param>
 /// <param name="bannerImageURL">Initial value of the BannerImageURL property.</param>
 /// <param name="showTitle">Initial value of the ShowTitle property.</param>
 /// <param name="showDescription">Initial value of the ShowDescription property.</param>
 /// <param name="displayType">Initial value of the DisplayType property.</param>
 /// <param name="sourceType">Initial value of the SourceType property.</param>
 /// <param name="displaySortOrder">Initial value of the DisplaySortOrder property.</param>
 /// <param name="gridColumns">Initial value of the GridColumns property.</param>
 /// <param name="gridRows">Initial value of the GridRows property.</param>
 /// <param name="listSize">Initial value of the ListSize property.</param>
 /// <param name="detailListSize">Initial value of the DetailListSize property.</param>
 /// <param name="priceRangeLow">Initial value of the PriceRangeLow property.</param>
 /// <param name="priceRangeHigh">Initial value of the PriceRangeHigh property.</param>
 /// <param name="manufacturerID">Initial value of the ManufacturerID property.</param>
 /// <param name="vendorID">Initial value of the VendorID property.</param>
 /// <param name="typeID">Initial value of the TypeID property.</param>
 /// <param name="latestProductCount">Initial value of the LatestProductCount property.</param>
 /// <param name="customPageOn">Initial value of the CustomPageOn property.</param>
 /// <param name="customPageURL">Initial value of the CustomPageURL property.</param>
 /// <param name="customPageNewWindow">Initial value of the CustomPageNewWindow property.</param>
 /// <param name="menuOffImageURL">Initial value of the MenuOffImageURL property.</param>
 /// <param name="menuOnImageURL">Initial value of the MenuOnImageURL property.</param>
 /// <param name="featuredProductID">Initial value of the FeaturedProductID property.</param>
 /// <param name="showInTopMenu">Initial value of the ShowInTopMenu property.</param>
 /// <param name="hidden">Initial value of the Hidden property.</param>
 public static bvc_Category Createbvc_Category(global::System.Int32 id, global::System.String name, global::System.String description, global::System.Int32 parentID, global::System.Int32 sortOrder, global::System.String metaTitle, global::System.String metaKeywords, global::System.String metaDescription, global::System.String imageURL, global::System.String bannerImageURL, global::System.Int32 showTitle, global::System.Int32 showDescription, global::System.Int32 displayType, global::System.Int32 sourceType, global::System.Int32 displaySortOrder, global::System.Int32 gridColumns, global::System.Int32 gridRows, global::System.Int32 listSize, global::System.Int32 detailListSize, global::System.Double priceRangeLow, global::System.Double priceRangeHigh, global::System.Int32 manufacturerID, global::System.Int32 vendorID, global::System.Int32 typeID, global::System.Int32 latestProductCount, global::System.Int32 customPageOn, global::System.String customPageURL, global::System.Int32 customPageNewWindow, global::System.String menuOffImageURL, global::System.String menuOnImageURL, global::System.String featuredProductID, global::System.Int32 showInTopMenu, global::System.Int32 hidden)
 {
     bvc_Category bvc_Category = new bvc_Category();
     bvc_Category.ID = id;
     bvc_Category.Name = name;
     bvc_Category.Description = description;
     bvc_Category.ParentID = parentID;
     bvc_Category.SortOrder = sortOrder;
     bvc_Category.MetaTitle = metaTitle;
     bvc_Category.MetaKeywords = metaKeywords;
     bvc_Category.MetaDescription = metaDescription;
     bvc_Category.ImageURL = imageURL;
     bvc_Category.BannerImageURL = bannerImageURL;
     bvc_Category.ShowTitle = showTitle;
     bvc_Category.ShowDescription = showDescription;
     bvc_Category.DisplayType = displayType;
     bvc_Category.SourceType = sourceType;
     bvc_Category.DisplaySortOrder = displaySortOrder;
     bvc_Category.GridColumns = gridColumns;
     bvc_Category.GridRows = gridRows;
     bvc_Category.ListSize = listSize;
     bvc_Category.DetailListSize = detailListSize;
     bvc_Category.PriceRangeLow = priceRangeLow;
     bvc_Category.PriceRangeHigh = priceRangeHigh;
     bvc_Category.ManufacturerID = manufacturerID;
     bvc_Category.VendorID = vendorID;
     bvc_Category.TypeID = typeID;
     bvc_Category.LatestProductCount = latestProductCount;
     bvc_Category.CustomPageOn = customPageOn;
     bvc_Category.CustomPageURL = customPageURL;
     bvc_Category.CustomPageNewWindow = customPageNewWindow;
     bvc_Category.MenuOffImageURL = menuOffImageURL;
     bvc_Category.MenuOnImageURL = menuOnImageURL;
     bvc_Category.FeaturedProductID = featuredProductID;
     bvc_Category.ShowInTopMenu = showInTopMenu;
     bvc_Category.Hidden = hidden;
     return bvc_Category;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the bvc_Category EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTobvc_Category(bvc_Category bvc_Category)
 {
     base.AddObject("bvc_Category", bvc_Category);
 }