0
私はこの例http://msdn.microsoft.com/en-us/library/bb399420.aspx を見て、このページそれはSystem.Data.Linq名前空間を使用して参照System.Dataを含めるように述べていhttp://msdn.microsoft.com/en-us/library/system.data.linq.datacontext.createdatabase.aspxDataContext.CreateDatabase属性コンパイラエラー
に私を連れDataContext.CreateDatabaseをクリック。
私はそれをやって、私はこのエラーをどのように修正すればよい
error CS0246: The type or namespace name 'Column' could not be found (are you missing a using directive or an assembly reference?)
[Table(Name = "DVDTable")]
public class DVD
{
[Column(IsPrimaryKey = true)] //<-- here
public string Title;
[Column]
public string Rating;
}
エラーがrecvをしていますか?
ありがとうございました。 –