|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Demo.DataModel
{
public class Customer
{
private string id = Guid.NewGuid().ToString();
public string Id { get { return id; } }
public string FirstName { get; set; }
public string LastName { get; set; }
public string Address { get; set; }
public string Comments { get; set; }
public string Name
{
get
{
return string.Format("{1}, {0}", FirstName, LastName);
}
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.