Is there a way to read a Geography data from sql server DB and convert it to SqlGeography type in c# ?
For example, when reading an int type column, the conversion is:
int price = Convert.ToInt32(row["Price"]);
The question is, how can i read geography type column?
Edit: Why did you mark it as a duplication? im asking how can i read Geography sql data type from a db to c#. I looked at th other questions and didn't find my desired answer.