Update Xml with CS

This commit is contained in:
2021-05-11 17:59:27 +08:00
parent 982b79bbb0
commit fc3f3bec48
24 changed files with 310 additions and 470 deletions

View File

@@ -4,6 +4,7 @@ using Microsoft.EntityFrameworkCore.Metadata.Builders;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Xml.Serialization;
namespace Ewide.Core
{
@@ -24,6 +25,7 @@ namespace Ewide.Core
/// <summary>
/// 一对一引用(员工)
/// </summary>
[XmlIgnore]
public SysEmp SysEmp { get; set; }
/// <summary>
@@ -36,6 +38,7 @@ namespace Ewide.Core
/// <summary>
/// 一对一引用(机构)
/// </summary>
[XmlIgnore]
public SysOrg SysOrg { get; set; }
/// <summary>
@@ -48,6 +51,7 @@ namespace Ewide.Core
/// <summary>
/// 一对一引用(职位)
/// </summary>
[XmlIgnore]
public SysPos SysPos { get; set; }
public void Configure(EntityTypeBuilder<SysEmpExtOrgPos> entityBuilder, DbContext dbContext, Type dbContextLocator)