📄 _customers.cs
字号:
}
public WhereParameter Country
{
get
{
if(_Country_W == null)
{
_Country_W = TearOff.Country;
}
return _Country_W;
}
}
public WhereParameter Phone
{
get
{
if(_Phone_W == null)
{
_Phone_W = TearOff.Phone;
}
return _Phone_W;
}
}
public WhereParameter Fax
{
get
{
if(_Fax_W == null)
{
_Fax_W = TearOff.Fax;
}
return _Fax_W;
}
}
private WhereParameter _CustomerID_W = null;
private WhereParameter _CompanyName_W = null;
private WhereParameter _ContactName_W = null;
private WhereParameter _ContactTitle_W = null;
private WhereParameter _Address_W = null;
private WhereParameter _City_W = null;
private WhereParameter _Region_W = null;
private WhereParameter _PostalCode_W = null;
private WhereParameter _Country_W = null;
private WhereParameter _Phone_W = null;
private WhereParameter _Fax_W = null;
public void WhereClauseReset()
{
_CustomerID_W = null;
_CompanyName_W = null;
_ContactName_W = null;
_ContactTitle_W = null;
_Address_W = null;
_City_W = null;
_Region_W = null;
_PostalCode_W = null;
_Country_W = null;
_Phone_W = null;
_Fax_W = null;
this._entity.Query.FlushWhereParameters();
}
private EasyObject _entity;
private TearOffWhereParameter _tearOff;
}
public WhereClause Where
{
get
{
if(_whereClause == null)
{
_whereClause = new WhereClause(this);
}
return _whereClause;
}
}
private WhereClause _whereClause = null;
#endregion
#region Aggregate Clause
public class AggregateClause
{
public AggregateClause(EasyObject entity)
{
this._entity = entity;
}
public TearOffAggregateParameter TearOff
{
get
{
if(_tearOff == null)
{
_tearOff = new TearOffAggregateParameter(this);
}
return _tearOff;
}
}
#region TearOff's
public class TearOffAggregateParameter
{
public TearOffAggregateParameter(AggregateClause clause)
{
this._clause = clause;
}
public AggregateParameter CustomerID
{
get
{
AggregateParameter ap = new AggregateParameter(CustomersSchema.CustomerID);
this._clause._entity.Query.AddAggregateParameter(ap);
return ap;
}
}
public AggregateParameter CompanyName
{
get
{
AggregateParameter ap = new AggregateParameter(CustomersSchema.CompanyName);
this._clause._entity.Query.AddAggregateParameter(ap);
return ap;
}
}
public AggregateParameter ContactName
{
get
{
AggregateParameter ap = new AggregateParameter(CustomersSchema.ContactName);
this._clause._entity.Query.AddAggregateParameter(ap);
return ap;
}
}
public AggregateParameter ContactTitle
{
get
{
AggregateParameter ap = new AggregateParameter(CustomersSchema.ContactTitle);
this._clause._entity.Query.AddAggregateParameter(ap);
return ap;
}
}
public AggregateParameter Address
{
get
{
AggregateParameter ap = new AggregateParameter(CustomersSchema.Address);
this._clause._entity.Query.AddAggregateParameter(ap);
return ap;
}
}
public AggregateParameter City
{
get
{
AggregateParameter ap = new AggregateParameter(CustomersSchema.City);
this._clause._entity.Query.AddAggregateParameter(ap);
return ap;
}
}
public AggregateParameter Region
{
get
{
AggregateParameter ap = new AggregateParameter(CustomersSchema.Region);
this._clause._entity.Query.AddAggregateParameter(ap);
return ap;
}
}
public AggregateParameter PostalCode
{
get
{
AggregateParameter ap = new AggregateParameter(CustomersSchema.PostalCode);
this._clause._entity.Query.AddAggregateParameter(ap);
return ap;
}
}
public AggregateParameter Country
{
get
{
AggregateParameter ap = new AggregateParameter(CustomersSchema.Country);
this._clause._entity.Query.AddAggregateParameter(ap);
return ap;
}
}
public AggregateParameter Phone
{
get
{
AggregateParameter ap = new AggregateParameter(CustomersSchema.Phone);
this._clause._entity.Query.AddAggregateParameter(ap);
return ap;
}
}
public AggregateParameter Fax
{
get
{
AggregateParameter ap = new AggregateParameter(CustomersSchema.Fax);
this._clause._entity.Query.AddAggregateParameter(ap);
return ap;
}
}
private AggregateClause _clause;
}
#endregion
public AggregateParameter CustomerID
{
get
{
if(_CustomerID_W == null)
{
_CustomerID_W = TearOff.CustomerID;
}
return _CustomerID_W;
}
}
public AggregateParameter CompanyName
{
get
{
if(_CompanyName_W == null)
{
_CompanyName_W = TearOff.CompanyName;
}
return _CompanyName_W;
}
}
public AggregateParameter ContactName
{
get
{
if(_ContactName_W == null)
{
_ContactName_W = TearOff.ContactName;
}
return _ContactName_W;
}
}
public AggregateParameter ContactTitle
{
get
{
if(_ContactTitle_W == null)
{
_ContactTitle_W = TearOff.ContactTitle;
}
return _ContactTitle_W;
}
}
public AggregateParameter Address
{
get
{
if(_Address_W == null)
{
_Address_W = TearOff.Address;
}
return _Address_W;
}
}
public AggregateParameter City
{
get
{
if(_City_W == null)
{
_City_W = TearOff.City;
}
return _City_W;
}
}
public AggregateParameter Region
{
get
{
if(_Region_W == null)
{
_Region_W = TearOff.Region;
}
return _Region_W;
}
}
public AggregateParameter PostalCode
{
get
{
if(_PostalCode_W == null)
{
_PostalCode_W = TearOff.PostalCode;
}
return _PostalCode_W;
}
}
public AggregateParameter Country
{
get
{
if(_Country_W == null)
{
_Country_W = TearOff.Country;
}
return _Country_W;
}
}
public AggregateParameter Phone
{
get
{
if(_Phone_W == null)
{
_Phone_W = TearOff.Phone;
}
return _Phone_W;
}
}
public AggregateParameter Fax
{
get
{
if(_Fax_W == null)
{
_Fax_W = TearOff.Fax;
}
return _Fax_W;
}
}
private AggregateParameter _CustomerID_W = null;
private AggregateParameter _CompanyName_W = null;
private AggregateParameter _ContactName_W = null;
private AggregateParameter _ContactTitle_W = null;
private AggregateParameter _Address_W = null;
private AggregateParameter _City_W = null;
private AggregateParameter _Region_W = null;
private AggregateParameter _PostalCode_W = null;
private AggregateParameter _Country_W = null;
private AggregateParameter _Phone_W = null;
private AggregateParameter _Fax_W = null;
public void AggregateClauseReset()
{
_CustomerID_W = null;
_CompanyName_W = null;
_ContactName_W = null;
_ContactTitle_W = null;
_Address_W = null;
_City_W = null;
_Region_W = null;
_PostalCode_W = null;
_Country_W = null;
_Phone_W = null;
_Fax_W = null;
this._entity.Query.FlushAggregateParameters();
}
private EasyObject _entity;
private TearOffAggregateParameter _tearOff;
}
public AggregateClause Aggregate
{
get
{
if(_aggregateClause == null)
{
_aggregateClause = new AggregateClause(this);
}
return _aggregateClause;
}
}
private AggregateClause _aggregateClause = null;
#endregion
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -