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.
我需要将值传递给.dbml
.dbml
我如何将值传递给 string[] 参数?
这就是你所追求的吗?
[FileUpload(FileTypes = new string[] {"filetype1", "filetype2", ...})]
请注意,这与 .dbml 文件或一般的 LINQ2SQL 无关。这是属性的基本命名参数。