Column Properties
Posted: Thu 06 Mar 2014 17:05
Hi,
is it possible to read this annotation information
from C#? I would like to consider the size of the DB string (here: 45) in order to do some smart handling rather than getting an exception.
Even if there's a way to access the information, what's the canonical way to do it?
Thx ia,
Ekki
P.S. Have been quiet for a pretty long time. This is… because… YOUR STUFF JUST WORKS! Does what I expect it should do… like it, enjoy it, just GREAT!!
is it possible to read this annotation information
Code: Select all
[Column(Name = @"""Name""", Storage = "_Name", CanBeNull = false, DbType = "varchar(45) NOT NULL", IsPrimaryKey = true)]
Even if there's a way to access the information, what's the canonical way to do it?
Thx ia,
Ekki
P.S. Have been quiet for a pretty long time. This is… because… YOUR STUFF JUST WORKS! Does what I expect it should do… like it, enjoy it, just GREAT!!