Bharat Guru
asked on
Database property get set for order by
How to write below code in c# as a database property with get and set for "Order BY"
Select ID, Name , Description from tMytable where Description = 'Test' Order BY ID
something line below
[MyDBColumn]
[MyDBMember]
public string Description { get; set; }
Select ID, Name , Description from tMytable where Description = 'Test' Order BY ID
something line below
[MyDBColumn]
[MyDBMember]
public string Description { get; set; }
ASKER
I want to code as "order by " as property how could I do it?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks
Hence you would normally have properties for columns in your table.