Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

46 lines
1.5 KiB
C#

// Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
namespace System.Web.Http.Query
{
public class Product
{
public int ProductID { get; set; }
public string ProductName { get; set; }
public int SupplierID { get; set; }
public int CategoryID { get; set; }
public string QuantityPerUnit { get; set; }
public decimal UnitPrice { get; set; }
public short UnitsInStock { get; set; }
public short UnitsOnOrder { get; set; }
public short ReorderLevel { get; set; }
public bool Discontinued { get; set; }
public DateTime DiscontinuedDate { get; set; }
public Category Category { get; set; }
}
public class Category
{
public int CategoryID { get; set; }
public string CategoryName { get; set; }
}
public class DataTypes
{
public Guid GuidProp { get; set; }
public DateTime DateTimeProp { get; set; }
public DateTimeOffset DateTimeOffsetProp { get; set; }
public byte[] ByteArrayProp { get; set; }
public TimeSpan TimeSpanProp { get; set; }
public decimal DecimalProp { get; set; }
public double DoubleProp { get; set; }
public float FloatProp { get; set; }
public long LongProp { get; set; }
public int IntProp { get; set; }
public string Inaccessable() { return String.Empty; }
}
}