Shuxia Ning
2025-01-03 5e776f1884d4d865c8d3d037a1fb10fb083f37ed
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
27
28
namespace Yw.Application
{
    /// <summary>
    /// DbFirst
    /// </summary>
    [Route("PhartRelation/DbFirst")]
    [ApiDescriptionSettings("PhartRelation", Name = "DbFirst", Order = 10000)]
    public class PhartRelationDbFirst_Controller : IDynamicApiController
    {
        /// <summary>
        /// 初始化
        /// </summary>
        [Route("Initial@V1.0")]
        [HttpGet]
        public bool Initial()
        {
            var bol = HStation.Service.PhartRelation.DbFirstHelper.Initial(out string Msg);
            if (!bol)
            {
                throw YOops.Oh(eResultCode.Alert, InternalErrorCodes.L001, Msg);
            }
            return bol;
        }
 
 
 
    }
}