initFCL
This commit is contained in:
@@ -0,0 +1,424 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace Model
|
||||
{
|
||||
public class FCLItem
|
||||
{
|
||||
/// <summary>
|
||||
/// Id
|
||||
/// </summary>
|
||||
public string id
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 创建人
|
||||
/// </summary>
|
||||
public string createBy
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
public DateTime? createTime
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 更新人
|
||||
/// </summary>
|
||||
public string updateBy
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 更新时间
|
||||
/// </summary>
|
||||
public DateTime? updateTime
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// FO编码
|
||||
/// </summary>
|
||||
public string foNo // 对应
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// FO准则
|
||||
/// </summary>
|
||||
public string disciplineFo // 对应专业
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 类型
|
||||
/// </summary>
|
||||
public string type
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 定价方案
|
||||
/// </summary>
|
||||
public string pricingScheme
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 承包商
|
||||
/// </summary>
|
||||
public string contractor
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 承包商编码
|
||||
/// </summary>
|
||||
public string vendoNo
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 项目号
|
||||
/// </summary>
|
||||
public string item
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 学科类别
|
||||
/// </summary>
|
||||
public string disciplineCategory
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 货币
|
||||
/// </summary>
|
||||
public string currency
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 材料组
|
||||
/// </summary>
|
||||
public string materialGroup
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 采购组
|
||||
/// </summary>
|
||||
public string purchaseGroup
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 成本要素
|
||||
/// </summary>
|
||||
public string costElement
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 服务类型
|
||||
/// </summary>
|
||||
public string serviceType
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 合同管理
|
||||
/// </summary>
|
||||
public string contractAdmin
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 成本检查
|
||||
/// </summary>
|
||||
public string costChecker
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 买家
|
||||
/// </summary>
|
||||
public string buyer
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
/// <summary>
|
||||
/// 主要协调人
|
||||
/// </summary>
|
||||
public string mainCoordinator
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
/// <summary>
|
||||
/// mc部门
|
||||
/// </summary>
|
||||
public string mcDept
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 用户代表
|
||||
/// </summary>
|
||||
public string userRepresentative
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 有效日期
|
||||
/// </summary>
|
||||
public DateTime? validateDate
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 截止日期
|
||||
/// </summary>
|
||||
public DateTime? expireDate
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// FC状态
|
||||
/// </summary>
|
||||
public string fcStatus
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 联系人
|
||||
/// </summary>
|
||||
public string contractPerson
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 联系方式
|
||||
/// </summary>
|
||||
public string tel
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 体积分配
|
||||
/// </summary>
|
||||
public string volumeAllocation
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 合同预算
|
||||
/// </summary>
|
||||
public decimal? contractBudget
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 关联交易
|
||||
/// </summary>
|
||||
public string affiliatedTransaction
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 检查值
|
||||
/// </summary>
|
||||
public decimal? checkedValue
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 剩余的预算
|
||||
/// </summary>
|
||||
public decimal? remainingBudget
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 剩余的预算百分比
|
||||
/// </summary>
|
||||
public string remainingBudgetP
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 剩余的时间百分比
|
||||
/// </summary>
|
||||
public string remainingDurationP
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 主要负责人
|
||||
/// </summary>
|
||||
public string zyhead
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 主要负责人联系方式
|
||||
/// </summary>
|
||||
public string zyheadTel
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 安全负责人
|
||||
/// </summary>
|
||||
public string aqhead
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 安全负责人联系方式
|
||||
/// </summary>
|
||||
public string aqheadTel
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 项目经理
|
||||
/// </summary>
|
||||
public string xmjl
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 项目经理联系方式
|
||||
/// </summary>
|
||||
public string xmjlTel
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 电子邮件
|
||||
/// </summary>
|
||||
public string email
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 施工记录
|
||||
/// </summary>
|
||||
public string constRecords
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 评论
|
||||
/// </summary>
|
||||
public string remark
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 超时期限
|
||||
/// </summary>
|
||||
public int? exceedLimit
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Model
|
||||
{
|
||||
public class LoginInput
|
||||
{
|
||||
/// <summary>
|
||||
/// 账号
|
||||
/// </summary>
|
||||
public string username { get; set; }
|
||||
/// <summary>
|
||||
/// 密码
|
||||
/// </summary>
|
||||
public string password { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,49 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace Model
|
||||
{
|
||||
public class ResponeData
|
||||
{
|
||||
public bool success
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = true;
|
||||
|
||||
/// <summary>
|
||||
/// 代码 200-正常;1010-异常;
|
||||
/// </summary>
|
||||
public int code
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = 200;
|
||||
|
||||
/// <summary>
|
||||
/// 消息
|
||||
/// </summary>
|
||||
public string message
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
public string timestamp
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 数据
|
||||
/// </summary>
|
||||
public object data
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,75 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Web.UI.DataVisualization.Charting;
|
||||
|
||||
namespace Model
|
||||
{
|
||||
/// <summary>
|
||||
/// chart类
|
||||
/// </summary>
|
||||
public class DataSourceChart
|
||||
{
|
||||
private int width;
|
||||
/// <summary>
|
||||
/// 宽度
|
||||
/// </summary>
|
||||
public int Width
|
||||
{
|
||||
get { return width; }
|
||||
set { width = value; }
|
||||
}
|
||||
|
||||
private int height;
|
||||
/// <summary>
|
||||
/// 高度
|
||||
/// </summary>
|
||||
public int Height
|
||||
{
|
||||
get { return height; }
|
||||
set { height = value; }
|
||||
}
|
||||
|
||||
private string title;
|
||||
/// <summary>
|
||||
/// 标题名
|
||||
|
||||
/// </summary>
|
||||
public string Title
|
||||
{
|
||||
get { return title; }
|
||||
set { title = value; }
|
||||
}
|
||||
|
||||
private bool isNotEnable3D;
|
||||
/// <summary>
|
||||
/// 是否显示三维效果
|
||||
/// </summary>
|
||||
public bool IsNotEnable3D
|
||||
{
|
||||
get { return isNotEnable3D; }
|
||||
set { isNotEnable3D = value; }
|
||||
}
|
||||
|
||||
private SeriesChartType chartType;
|
||||
/// <summary>
|
||||
/// 图形类型
|
||||
/// </summary>
|
||||
public SeriesChartType ChartType
|
||||
{
|
||||
get { return chartType; }
|
||||
set { chartType = value; }
|
||||
}
|
||||
|
||||
private List<DataSourceTeam> dataSourceTeams;
|
||||
/// <summary>
|
||||
/// 数据点集合
|
||||
/// </summary>
|
||||
public List<DataSourceTeam> DataSourceTeams
|
||||
{
|
||||
get { return dataSourceTeams; }
|
||||
set { dataSourceTeams = value; }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace Model
|
||||
{
|
||||
/// <summary>
|
||||
/// 数据集合
|
||||
/// </summary>
|
||||
public class DataSourcePoint
|
||||
{
|
||||
private string pointText;
|
||||
/// <summary>
|
||||
/// 数据点x值
|
||||
/// </summary>
|
||||
public string PointText
|
||||
{
|
||||
get { return pointText; }
|
||||
set { pointText = value; }
|
||||
}
|
||||
|
||||
private string pointValue;
|
||||
/// <summary>
|
||||
/// 数据点y值
|
||||
/// </summary>
|
||||
public string PointValue
|
||||
{
|
||||
get { return pointValue; }
|
||||
set { pointValue = value; }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace Model
|
||||
{
|
||||
/// <summary>
|
||||
/// 数据点类
|
||||
/// </summary>
|
||||
public class DataSourceTeam
|
||||
{
|
||||
private string dataPointName;
|
||||
/// <summary>
|
||||
/// 数据点名称
|
||||
/// </summary>
|
||||
public string DataPointName
|
||||
{
|
||||
get { return dataPointName; }
|
||||
set { dataPointName = value; }
|
||||
}
|
||||
|
||||
private List<DataSourcePoint> dataSourcePoints;
|
||||
/// <summary>
|
||||
/// 数据集合
|
||||
/// </summary>
|
||||
public List<DataSourcePoint> DataSourcePoints
|
||||
{
|
||||
get { return dataSourcePoints; }
|
||||
set { dataSourcePoints = value; }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace Model
|
||||
{
|
||||
public class ErrorInfo
|
||||
{
|
||||
/// <summary>
|
||||
/// 错误行号
|
||||
/// </summary>
|
||||
public int Row
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 错误列
|
||||
/// </summary>
|
||||
public string Column
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 错误类型
|
||||
/// </summary>
|
||||
public string Reason
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace Model
|
||||
{
|
||||
/// <summary>
|
||||
/// 办理步骤项
|
||||
/// </summary>
|
||||
public class HandleStep
|
||||
{
|
||||
/// <summary>
|
||||
/// 步骤ID
|
||||
/// </summary>
|
||||
public string Id
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
/// <summary>
|
||||
/// 步骤名称
|
||||
/// </summary>
|
||||
public string Name
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
}
|
||||
}
|
||||
+33026
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,84 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>8.0.30703</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{FD1E1931-1688-4B4A-BCD6-335A81465343}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>Model</RootNamespace>
|
||||
<AssemblyName>Model</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<SccProjectName>
|
||||
</SccProjectName>
|
||||
<SccLocalPath>
|
||||
</SccLocalPath>
|
||||
<SccAuxPath>
|
||||
</SccAuxPath>
|
||||
<SccProvider>
|
||||
</SccProvider>
|
||||
<TargetFrameworkProfile />
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Newtonsoft.Json.12.0.1\lib\net40\Newtonsoft.Json.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Data.Linq" />
|
||||
<Reference Include="System.Web.DataVisualization" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="APIItem\FCLItem.cs" />
|
||||
<Compile Include="APIItem\LoginInput.cs" />
|
||||
<Compile Include="APIItem\ResponeData.cs" />
|
||||
<Compile Include="Chart\DataSourceChart.cs" />
|
||||
<Compile Include="Chart\DataSourcePoint.cs" />
|
||||
<Compile Include="Chart\DataSourceTeam.cs" />
|
||||
<Compile Include="ErrorInfo.cs" />
|
||||
<Compile Include="HandleStep.cs" />
|
||||
<Compile Include="Model.cs" />
|
||||
<Compile Include="ModelProc.cs" />
|
||||
<Compile Include="PredicateExtensions.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="SpSysMenuItem.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="packages.config" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
</Project>
|
||||
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<ProjectView>ShowAllFiles</ProjectView>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
@@ -0,0 +1,18 @@
|
||||
namespace Model
|
||||
{
|
||||
using System;
|
||||
using System.Data.Linq;
|
||||
using System.Linq;
|
||||
using System.Linq.Expressions;
|
||||
using System.Data.Linq.Mapping;
|
||||
using System.Reflection;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
|
||||
public partial class FCLDB : System.Data.Linq.DataContext
|
||||
{
|
||||
#region
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Linq.Expressions;
|
||||
using System.Text;
|
||||
|
||||
namespace Model
|
||||
{
|
||||
public static class PredicateExtensions
|
||||
{
|
||||
public static Expression<Func<T, bool>> True<T>() { return f => true; }
|
||||
|
||||
public static Expression<Func<T, bool>> False<T>() { return f => false; }
|
||||
|
||||
public static Expression<Func<T, bool>> Or<T>(this Expression<Func<T, bool>> expression1,
|
||||
Expression<Func<T, bool>> expression2)
|
||||
{
|
||||
var invokedExpression = Expression.Invoke(expression2, expression1.Parameters
|
||||
.Cast<Expression>());
|
||||
|
||||
return Expression.Lambda<Func<T, bool>>(Expression.Or(expression1.Body, invokedExpression),
|
||||
expression1.Parameters);
|
||||
}
|
||||
|
||||
public static Expression<Func<T, bool>> And<T>(this Expression<Func<T, bool>> expression1,
|
||||
Expression<Func<T, bool>> expression2)
|
||||
{
|
||||
var invokedExpression = Expression.Invoke(expression2, expression1.Parameters
|
||||
.Cast<Expression>());
|
||||
|
||||
return Expression.Lambda<Func<T, bool>>(Expression.And(expression1.Body,
|
||||
invokedExpression), expression1.Parameters);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// 有关程序集的常规信息通过以下
|
||||
// 特性集控制。更改这些特性值可修改
|
||||
// 与程序集关联的信息。
|
||||
|
||||
[assembly: AssemblyTitle("Model")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("Model")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2011")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
// 将 ComVisible 设置为 false 使此程序集中的类型
|
||||
|
||||
// 对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型,
|
||||
|
||||
// 则将该类型上的 ComVisible 特性设置为 true。
|
||||
|
||||
[assembly: ComVisible(false)]
|
||||
|
||||
// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID
|
||||
[assembly: Guid("6cefb30b-c419-4646-acd6-c8638668c0a8")]
|
||||
|
||||
// 程序集的版本信息由下面四个值组成:
|
||||
//
|
||||
// 主版本
|
||||
|
||||
// 次版本
|
||||
// 内部版本号
|
||||
|
||||
// 修订号
|
||||
Binary file not shown.
@@ -0,0 +1,46 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace Model
|
||||
{
|
||||
/// <summary>
|
||||
/// 菜单项
|
||||
/// </summary>
|
||||
public class SpSysMenuItem
|
||||
{
|
||||
/// <summary>
|
||||
/// 系统ID
|
||||
/// </summary>
|
||||
public string MenuId
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
/// <summary>
|
||||
/// 系统名称
|
||||
/// </summary>
|
||||
public string MenuName
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
/// <summary>
|
||||
/// 路径
|
||||
/// </summary>
|
||||
public string Url
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
/// <summary>
|
||||
/// 上级菜单
|
||||
/// </summary>
|
||||
public string SuperMenu
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="Newtonsoft.Json" version="12.0.1" targetFramework="net40" requireReinstallation="true" />
|
||||
</packages>
|
||||
Reference in New Issue
Block a user