0

MVC 4 でプロジェクトを実装しようとしていますが、次の問題に直面しています。それは簡単ですが、解決策を見つけることができませんでした。

long で入力された ID を持つテーブル userProfille が必要ですが、Filter でメソッドが次のようになるため、これは不可能です。

WebSecurity.InitializeDatabaseConnection("Context", "Users", "ID", "Email", autoCreateTables: true);

、INT として入力された ID フィールドが必要です (メソッドの説明には と記載されています"userIdColumn: the name of the database column that contains user IDs. This column must be typed as an integer-int")。

それで、簡単な提案はありますか?

4

0 に答える 0