Ejemplo n.º 1
0
 /// <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);
 }
Ejemplo n.º 2
0
 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);
     }
 }
Ejemplo n.º 3
0
 /// <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;
 }
Ejemplo n.º 4
0
 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);
         }
     }
 }