Example #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the RssProvider EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToRssProvider(RssProvider rssProvider)
 {
     base.AddObject("RssProvider", rssProvider);
 }
Example #2
0
 public void Update(RssProvider obj, out OperationResult operationResult)
 {
     lock (Lock)
     {
         if (obj == null)
         {
             operationResult = new OperationResult { Type = OperationResult.ResultType.Warning };
             return;
         }
         Common.Instance.Update
             (obj, objs => objs.RssProviderId == obj.RssProviderId && objs.LanguageId == obj.LanguageId, out operationResult);
     }
 }
Example #3
0
 /// <summary>
 /// Create a new RssProvider object.
 /// </summary>
 /// <param name="rssProviderId">Initial value of the RssProviderId property.</param>
 public static RssProvider CreateRssProvider(global::System.Guid rssProviderId)
 {
     RssProvider rssProvider = new RssProvider();
     rssProvider.RssProviderId = rssProviderId;
     return rssProvider;
 }
Example #4
0
 public void Insert(RssProvider obj, out OperationResult operationResult)
 {
     lock (Lock)
     {
         if (obj == null)
         {
             operationResult = new OperationResult { Type = OperationResult.ResultType.Warning };
         }
         else
         {
             Common.Instance.Insert(obj, out operationResult);
         }
     }
 }