I have a entity class that has attributes for all it's properties. I am using the CategorAttribute(String) attribute. The problem I am having is that in the Constructor parameter only let's me put a literal string in. I want to be able to pass it a const string from my class.
The code behind looks like:
Code: Select all
[Column(Storage = "_SyTy", CanBeNull = false, DbType = "integer NOT NULL", UpdateCheck = UpdateCheck.Never)]
[System.ComponentModel.Category(@"_teleTrans")]
public int SyTy
Code: Select all
[System.ComponentModel.Category(_teleTrans)]