Castle学习之二:处理主键时PrimaryKeyType.Assigned等几个有用的属性
摘要:ActiveRecord里主键是不应该被赋值的,调用ActiveRecordBase.Create()时,会自动生成一个新的主键.如果有以下的代码:Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 1 [ActiveRecord("book_S...
阅读全文
posted @ 2007-02-25 21:53