<p>When using Linq to SQL and stored procedures, the class generated to describe the proc's result set uses char properties to represent char(1) columns in the SQL proc.  I'd rather these be strings - is there any easy way to make this happen?</p>

[{'answer_id': 73237, 'author': 'Glenn Slaven', 'author_id': 2975, 'author_profile': 'https://Stackoverflow.com/users/2975', 'pm_score': -1, 'selected': False, 'text': "<p>Not sure why you'd want to do that.  The underlying data type can't store more than one char, by representing it as a string variable you introduce the need to check lengths before committing to the db, where as if you leave it as is you can just call ToString() on the char to get a string</p>\n"}, {'answer_id': 73812, 'author': 'Grant Wagner', 'author_id': 9254, 'author_profile': 'https://Stackoverflow.com/users/9254', 'pm_score': 0, 'selected': False, 'text': '<pre><code>var whatever =\n    from x in something\n    select new { yourString = Char.ToString(x.theChar); }\n</code></pre>\n'}, {'answer_id': 73976, 'author': 'James Curran', 'author_id': 12725, 'author_profile': 'https://Stackoverflow.com/users/12725', 'pm_score': 3, 'selected': True, 'text': "<p>You could modify the {database}.designer.cs file.  I don't have one handy to check, but I believe it's fairly straight forward --- you'll just have to plow through a lot of code, and remember to re-apply the change if you ever regenerate it.</p>\n\n<p>Alternately, you could create your own class and handle it in the select.  For example, given the LINQ generated class:</p>\n\n<pre><code>class MyTable\n{      int MyNum {get; set;}\n       int YourNum {get; set;}\n       char OneChar {get; set;}\n}\n</code></pre>\n\n<p>you could easily create:    </p>\n\n<pre><code>class MyFixedTable\n{      int MyNum {get; set;}\n       int YourNum {get; set;}\n       string OneChar {get; set;}\n   public MyFixedTable(MyTable t)\n   {\n         this,MyNum = t.MyNum;\n         this.YourNum = t.YourNum;\n         this.OneChar = new string(t.OneChar, 1);\n   }\n}\n</code></pre>\n\n<p>Then instead of writing:</p>\n\n<pre><code>var q = from t in db.MyTable\n        select t;\n</code></pre>\n\n<p>write</p>\n\n<pre><code>var q = from t in db.MyTable\n        select new MyFixTable(t);\n</code></pre>\n"}, {'answer_id': 173294, 'author': 'Jonathan Allen', 'author_id': 5274, 'author_profile': 'https://Stackoverflow.com/users/5274', 'pm_score': 0, 'selected': False, 'text': '<p>Just go to the designer window and change the type to string. I do it all the time, as I find Strings to be easier to use than Char in my code.</p>\n'}]
['https://Stackoverflow.com/questions/73198', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/12260/']