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