- C# code
using System;using System.Data;using Z.Entity;using System.Data.SqlClient;using System.Collections;using System.Collections.Generic;namespace Z.DALFactory{ using System; using System.Data; using Z.Entity; using System.Data.SqlClient; using System.Collections; using System.Collections.Generic; public interface IAward { void AddAward(AwardInfo model); void DeleteAward(int AwardId); int ExistsAward(int AwardId); [color=#FF0000]DataTable getAllAwards();[/color] int GetAwardMaxId(); void UpdateAward(AwardInfo model); }}
红色的那行有错误
错误为
错误 8 类型“System.ComponentModel.ISupportInitialize”在未被引用的程序集中定义。必须添加对程序集“System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089”的引用。 D:\Disassembler\Z.DALFactory\Z\DALFactory\IAward.cs 21 19 Z.DALFactory
搞不懂
------解决方案--------------------------------------------------------
using System.ComponentModel