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