|
using System;
using System.Linq;
using System.Data.Services.Common;
namespace ExposingTransformation
{
/// <summary>Represents an employee.</summary>
[DataServiceKey("ID")]
public class EmployeeModel
{
/// <summary>ID of the employee.</summary>
public int ID { get; set; }
/// <summary>ID of the associated department.</summary>
public int DepartmentID { get; set; }
/// <summary>ID of the address.</summary>
public int AddressID { get; set; }
/// <summary>First name of the employee.</summary>
public string FirstName { get; set; }
/// <summary>Last name of the employee.</summary>
public string LastName { get; set; }
/// <summary>Address street number.</summary>
public int StreetNumber { get; set; }
/// <summary>Address street name.</summary>
public string StreetName { get; set; }
}
}
|
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.
Vincent-Philippe is a Senior Solution Architect working in Montreal (Quebec, Canada).
His main interests are Windows Azure, .NET Enterprise suite (e.g. SharePoint 2013, Biztalk Server 2010) & the new .NET 4.5 platforms.