コード例 #1
0
        internal static void InsertOrReplace(ThumbnailViewModel target, DataOperationUnit dataOpUnit = null)
        {
            ThumbnailDao dao = new ThumbnailDao();

            dao.InsertOrReplace(target.ToEntity(), dataOpUnit?.CurrentConnection);
            s_logger.Debug($"UPDATE Thumbnail:{target}");
        }
コード例 #2
0
        public static void Update(ThumbnailViewModel target, DataOperationUnit dataOpUnit = null)
        {
            ThumbnailDao dao = new ThumbnailDao();

            dao.Update(target.ToEntity(), dataOpUnit?.CurrentConnection);
            s_logger.Debug($"UPDATE Thumbnail:{target}");
        }