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