code_junkie

Linq to SQL: combine two columns to make a readonly custom column

Nov 14th, 2011
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. namespace your.namespace {
  2.  
  3. public partial class yourclassname {
  4. public string FullName {
  5. get { return string.format("{0} {1}", FirstName, LastName); }
  6. }
  7. }
  8.  
  9. }
Add Comment
Please, Sign In to add comment