You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

106 lines
1.7 KiB
Plaintext

11 months ago
using System;
using System.Data;
using BP.DA;
using BP.En;
using BP.Port;
namespace BP.CN
{
/// <summary>
/// Ƭ<><C6AC>
/// </summary>
public class PQAttr: EntityNoNameAttr
{
#region <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
public const string FK_SF="FK_SF";
#endregion
}
/// <summary>
/// Ƭ<><C6AC>
/// </summary>
public class PQ :EntityNoName
{
#region <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
#endregion
#region <20><><EFBFBD><EFBFBD><ECBAAF>
public override UAC HisUAC
{
get
{
UAC uac = new UAC();
uac.OpenForSysAdmin();
return uac;
}
}
/// <summary>
/// Ƭ<><C6AC>
/// </summary>
public PQ(){}
public PQ(string no):base(no)
{
}
/// <summary>
/// Map
/// </summary>
public override Map EnMap
{
get
{
if (this._enMap!=null)
return this._enMap;
Map map = new Map("CN_PQ","Ƭ<><C6AC>");
#region <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
map.EnDBUrl =new DBUrl(DBUrlType.AppCenterDSN) ;
map.DepositaryOfMap=Depositary.Application;
map.DepositaryOfEntity=Depositary.None;
map.EnType=EnType.App;
map.CodeStruct="4";
#endregion
#region <20>ֶ<EFBFBD>
map.AddTBStringPK(PQAttr.No,null,"<22><><EFBFBD><EFBFBD>",true,false,0,50,50);
map.AddTBString(PQAttr.Name,null,"<22><><EFBFBD><EFBFBD>",true,false,0,50,200);
#endregion
this._enMap=map;
return this._enMap;
}
}
public override Entities GetNewEntities
{
get { return new PQs(); }
}
#endregion
}
/// <summary>
/// Ƭ<><C6AC>
/// </summary>
public class PQs : EntitiesNoName
{
#region
/// <summary>
/// <20>õ<EFBFBD><C3B5><EFBFBD><EFBFBD><EFBFBD> Entity
/// </summary>
public override Entity GetNewEntity
{
get
{
return new PQ();
}
}
#endregion
#region <20><><EFBFBD><EFBFBD><ECB7BD>
/// <summary>
/// Ƭ<><C6AC>s
/// </summary>
public PQs(){}
#endregion
}
}