/// <summary> /// Deprecated Method for adding a new object to the Support EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSupport(Support support) { base.AddObject("Support", support); }
public void Update(Support obj, out OperationResult operationResult) { lock (Lock) { if (obj == null) { operationResult = new OperationResult { Type = OperationResult.ResultType.Warning }; return; } Common.Instance.Update (obj, objs => objs.SupportId == obj.SupportId && objs.LanguageId == obj.LanguageId, out operationResult); } }
/// <summary> /// Create a new Support object. /// </summary> /// <param name="supportId">Initial value of the SupportId property.</param> public static Support CreateSupport(global::System.Guid supportId) { Support support = new Support(); support.SupportId = supportId; return support; }
public void Insert(Support obj, out OperationResult operationResult) { lock (Lock) { if (obj == null) { operationResult = new OperationResult { Type = OperationResult.ResultType.Warning }; } else { Common.Instance.Insert(obj, out operationResult); } } }