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