/// <summary> /// Deprecated Method for adding a new object to the RssProvider EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToRssProvider(RssProvider rssProvider) { base.AddObject("RssProvider", rssProvider); }
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); } }
/// <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; }
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); } } }