lixiaojun
2024-07-11 da1c001309ed262c55514633490ab8c1b8f68916
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
 
namespace Yw.CAL.LocalClient
{
    /// <summary>
    /// 
    /// </summary>
    public class DbFirstHelper : IDbFirstHelper
    {
 
        /// <summary>
        /// 
        /// </summary>
        public async Task<bool> Initial()
        {
            return await Task.Factory.StartNew(() =>
            {
                var bol = Yw.Service.Bimface.DbFirstHelper.Initial(out string Msg);
                if (!bol)
                {
                    throw YOops.Oh(eResultCode.Alert, InternalErrorCodes.L001, Msg);
                }
                return bol;
            });
        }
    }
}