本文整理汇总了C#中SoftProject.Domain.SoftProjectAreaEntityDomain.Design_ModularPageField_Domain方法的典型用法代码示例。如果您正苦于以下问题:C# SoftProjectAreaEntityDomain.Design_ModularPageField_Domain方法的具体用法?C# SoftProjectAreaEntityDomain.Design_ModularPageField_Domain怎么用?C# SoftProjectAreaEntityDomain.Design_ModularPageField_Domain使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类SoftProject.Domain.SoftProjectAreaEntityDomain
的用法示例。
在下文中一共展示了SoftProjectAreaEntityDomain.Design_ModularPageField_Domain方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Design_ModularPageField_EditListSave
//.........这里部分代码省略.........
sqlfields += "Query31Pos,Query31FormEleType,Query31QueryType,";
}
if (resp1.Items[m].QueryFormEleTypeName == "Query32")
{
sqlfields += "Query32Pos,Query32FormEleType,Query32QueryType,";
}
if (resp1.Items[m].QueryFormEleTypeName == "Query33")
{
sqlfields += "Query33Pos,Query33FormEleType,Query33QueryType,";
}
if (resp1.Items[m].QueryFormEleTypeName == "Query34")
{
sqlfields += "Query34Pos,Query34FormEleType,Query34QueryType,";
}
if (resp1.Items[m].QueryFormEleTypeName == "Query35")
{
sqlfields += "Query35Pos,Query35FormEleType,Query35QueryType,";
}
if (resp1.Items[m].QueryFormEleTypeName == "Query36")
{
sqlfields += "Query36Pos,Query36FormEleType,Query36QueryType,";
}
if (resp1.Items[m].QueryFormEleTypeName == "Query37")
{
sqlfields += "Query37Pos,Query37FormEleType,Query37QueryType,";
}
if (resp1.Items[m].QueryFormEleTypeName == "Query38")
{
sqlfields += "Query38Pos,Query38FormEleType,Query38QueryType,";
}
if (resp1.Items[m].QueryFormEleTypeName == "Query39")
{
sqlfields += "Query39Pos,Query39FormEleType,Query39QueryType,";
}
if (resp1.Items[m].QueryFormEleTypeName == "Query40")
{
sqlfields += "Query40Pos,Query40FormEleType,Query40QueryType,";
}
#endregion
}
if (sqlfields.Length > 0)
{
sqlfields = sqlfields.Trim();
sqlfields = sqlfields.Substring(0, sqlfields.Length - 1);
}
DBFieldVals = "Design_ModularOrFunID,TableInfoSort,FieldFunTypeID,cssclass,calcol,calrow,bTabVer,Design_ModularFieldID,FormEleType,EditAreaName,Design_ModularPageID,AdditionalInfo,";
DBFieldVals += sqlfields;
#region (5)更新模块字段
if (updateItems.Count() > 0)
{
SoftProjectAreaEntityDomain domain = new SoftProjectAreaEntityDomain { Items = updateItems.ToList() };
domain.Design_ModularPageField_Domain();
//DBFieldVals = "Design_ModularOrFunID,TableInfoSort,FieldFunTypeID,cssclass,calcol,calrow,bTabVer,Design_ModularFieldID,FormEleType,EditAreaName,Design_ModularPageID,";
//Page01FormEleSort,Page01FormElePos,Page01FormEleType,Page02FormEleSort,Page02FormElePos,Page02FormEleType,Page03FormEleSort,Page03FormElePos,Page03FormEleType,";
//DBFieldVals += "Page04FormEleSort,Page04FormElePos, Page04FormEleType,Page05FormEleSort,Page05FormElePos,Page05FormEleType,Page06FormEleSort,Page06FormElePos,Page06FormEleType,";
//DBFieldVals += "Page07FormEleSort,Page07FormElePos, Page07FormEleType,Page08FormEleSort,Page08FormElePos,Page08FormEleType,Page09FormEleSort,Page09FormElePos,Page09FormEleType,";
//DBFieldVals += "Page10FormEleSort,Page10FormElePos, Page10FormEleType,";
//DBFieldVals += "Query01Pos,Query01FormEleType,Query01QueryType,Query02Pos,Query02FormEleType,Query02QueryType,Query03Pos,Query03FormEleType,Query03QueryType,Query04Pos,Query04FormEleType,Query04QueryType,";
//DBFieldVals += "Query05Pos, Query05FormEleType,Query05QueryType,Query06Pos,Query06FormEleType,Query06QueryType,Query07Pos,Query07FormEleType,Query07QueryType,Query08Pos,Query08FormEleType,Query08QueryType,Query09Pos,Query09FormEleType,Query09QueryType,Query10Pos,Query10FormEleType,Query10QueryType,";
//DBFieldVals += "Sort01,Sort02,Sort03,Sort04,Sort05,Sort06,Sort07,Sort08,Sort09,Sort10";
domain.EditSaves(DBFieldVals);
}
#endregion
#region (6)添加
if (addItems.Count() > 0)
{
SoftProjectAreaEntityDomain domain = new SoftProjectAreaEntityDomain { Items = addItems.ToList() };
domain.Design_ModularPageField_Domain();
//DBFieldVals = "Design_ModularOrFunID,TableInfoSort,FieldFunTypeID,cssclass,calcol,calrow,bTabVer,Design_ModularFieldID,FormEleType,Page01FormEleSort,Page01FormElePos,Page01FormEleType,Page02FormEleSort,Page02FormElePos,Page02FormEleType,Page03FormEleSort,Page03FormElePos,Page03FormEleType,";
//DBFieldVals += "Page04FormEleSort,Page04FormElePos, Page04FormEleType,Page05FormEleSort,Page05FormElePos,Page05FormEleType,Page06FormEleSort,Page06FormElePos,Page06FormEleType,";
//DBFieldVals += "Page07FormEleSort,Page07FormElePos, Page07FormEleType,Page08FormEleSort,Page08FormElePos,Page08FormEleType,Page09FormEleSort,Page09FormElePos,Page09FormEleType,";
//DBFieldVals += "Page10FormEleSort,Page10FormElePos, Page10FormEleType,EditAreaName,Design_ModularPageID,";
//DBFieldVals += "Query01Pos,Query01FormEleType,Query01QueryType,Query02Pos,Query02FormEleType,Query02QueryType,Query03Pos,Query03FormEleType,Query03QueryType,Query04Pos,Query04FormEleType,Query04QueryType,";
//DBFieldVals += "Query05Pos, Query05FormEleType,Query05QueryType,Query06Pos,Query06FormEleType,Query06QueryType,Query07Pos,Query07FormEleType,Query07QueryType,Query08Pos,Query08FormEleType,Query08QueryType,Query09Pos,Query09FormEleType,Query09QueryType,Query10Pos,Query10FormEleType,Query10QueryType,";
//DBFieldVals += "Sort01,Sort02,Sort03,Sort04,Sort05,Sort06,Sort07,Sort08,Sort09,Sort10";
domain.AddSaves(DBFieldVals);
}
#endregion
ProjectCache.Design_ModularPageFields_Clear();
scope.Complete();
}
catch (Exception ex)
{
throw new Exception(ex.Message);
}
finally
{
scope.Dispose();
}
}
#endregion
return resp;
}