Ejemplo n.º 1
0
 public void Update(VideoAlbum obj, out OperationResult operationResult)
 {
     lock (Lock)
     {
         if (obj == null)
         {
             operationResult = new OperationResult { Type = OperationResult.ResultType.Warning };
             return;
         }
         Common.Instance.Update
             (obj, objs => objs.VideoAlbumId == obj.VideoAlbumId && objs.LanguageId == obj.LanguageId, out operationResult);
     }
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create a new VideoAlbum object.
 /// </summary>
 /// <param name="videoAlbumId">Initial value of the VideoAlbumId property.</param>
 public static VideoAlbum CreateVideoAlbum(global::System.Guid videoAlbumId)
 {
     VideoAlbum videoAlbum = new VideoAlbum();
     videoAlbum.VideoAlbumId = videoAlbumId;
     return videoAlbum;
 }
Ejemplo n.º 3
0
 public void Insert(VideoAlbum obj, out OperationResult operationResult)
 {
     lock (Lock)
     {
         if (obj == null)
         {
             operationResult = new OperationResult { Type = OperationResult.ResultType.Warning };
         }
         else
         {
             Common.Instance.Insert(obj, out operationResult);
         }
     }
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Deprecated Method for adding a new object to the VideoAlbum EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToVideoAlbum(VideoAlbum videoAlbum)
 {
     base.AddObject("VideoAlbum", videoAlbum);
 }