You can run this query on your SQL Server to get the column names and data types.
Then click to Create Code to have a C# class written automatically for you to be copied and pasted into your C# Class file.
Enter a table or descriptive name so the class can be named appropriately (no spaces)

SELECT column_name,data_type FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = 'yourtablename'