1

I need to pass values into .dbml

how could i pass values to string[] parameter ?

enter image description here

1 Answer 1

2

Is this what you're after?

[FileUpload(FileTypes = new string[] {"filetype1", "filetype2", ...})]

Note that this has nothing to do with the .dbml file, or LINQ2SQL in general. This is basic named parameters for attributes.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.