Partly working

This commit is contained in:
unknown
2011-01-10 05:06:24 +05:30
parent e32e9f9e74
commit 853fad0692
26 changed files with 706 additions and 841 deletions

View File

@ -0,0 +1,11 @@
using System;
using System.Runtime.Serialization;
namespace Tanshu.Accounts.Contracts
{
public class FoodTableBO
{
public int TableID { get; set; }
public string Name { get; set; }
}
}

View File

@ -18,7 +18,7 @@ namespace Tanshu.Accounts.Contracts
get { return price; }
set
{
if (value <= 0)
if (value < 0)
throw new ArgumentException("Price has to be non-negative greater than zero.");
else
price = value;