Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
このマイクロ ORM に関する他のすべては素晴らしいように見えますが、次のように列名をマップする方法がわかりません。
[Column("db_username")] public string UserName {get;set;}
私は何か見落としてますか?ありがとう
それはできません。SqlFu はデータ マッパーであり、クエリ結果を poco にマッピングします。Poco を装飾するために使用される属性は、テーブル作成専用であり、クエリ用ではありません。したがって、ORM の意味でのマッピングはありません。