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.
Entity Framework 4.0 を使用しています。エンティティ フレームワークによって生成される SQL を n_varchar から varchar に変更する方法はありますか? ありがとう。
属性を使用する
using System.ComponentModel.DataAnnotations; [Column(TypeName = "varchar")] public string UserName { get; set; }