Пример #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the PublishingViews EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPublishingViews(PublishingView publishingView)
 {
     base.AddObject("PublishingViews", publishingView);
 }
Пример #2
0
 /// <summary>
 /// Create a new PublishingView object.
 /// </summary>
 /// <param name="publishingViewID">Initial value of the PublishingViewID property.</param>
 public static PublishingView CreatePublishingView(global::System.Decimal publishingViewID)
 {
     PublishingView publishingView = new PublishingView();
     publishingView.PublishingViewID = publishingViewID;
     return publishingView;
 }