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