Example #1
0
 /// <summary>
 /// Create a new BrowseDefaultItem object.
 /// </summary>
 /// <param name="siteId">Initial value of the SiteId property.</param>
 /// <param name="contId">Initial value of the ContId property.</param>
 /// <param name="browDefaId">Initial value of the BrowDefaId property.</param>
 /// <param name="browDefaItemId">Initial value of the BrowDefaItemId property.</param>
 public static BrowseDefaultItem CreateBrowseDefaultItem(global::System.Int32 siteId, global::System.Int32 contId, global::System.Int32 browDefaId, global::System.Int32 browDefaItemId)
 {
     BrowseDefaultItem browseDefaultItem = new BrowseDefaultItem();
     browseDefaultItem.SiteId = siteId;
     browseDefaultItem.ContId = contId;
     browseDefaultItem.BrowDefaId = browDefaId;
     browseDefaultItem.BrowDefaItemId = browDefaItemId;
     return browseDefaultItem;
 }
Example #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the BrowseDefaultItems EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToBrowseDefaultItems(BrowseDefaultItem browseDefaultItem)
 {
     base.AddObject("BrowseDefaultItems", browseDefaultItem);
 }