我爱Aspx >> Asp.Net >> Data Integrity in Web Services (转一)yearsExperience = value;
}
}
public String FirstName;
public String LastName;
}
public class Person
{
private PersonData personData;
public PersonData CurrentData
{
get { return personData; }
set
{
if(value.FirstName.Length > 20)
{ throw new Exception("FirstName must be less than 20 characters"); }
if(value.LastName.Length > 20)
{ throw new Exception("LastName must be less than 20 characters"); }
if(value.YearsExperience < 2)
{ throw new Exception("People with less than 2 years exp are unemployable in IT."); }
personData=value;
}
}
//Other useful methods to operate on a person
}//END OF PERSON OBJECT
}//END of RemoteObject Passer Namespace
Ҷƪл˵?
Data Integrity in Web Services..[05-28]
很老的文章了,不知道有人贴过没..[05-28]
一并给你回答吧:webservice , s..[05-28]
XML Web Service 基础 (转微软MS..[05-28]
实战Web服务[05-28]
Web Service描述语言 WSDL 详解(..[05-28]
Web Service描述语言 WSDL 详解(..[05-28]
Web Service——下一代的WWW[转..[05-28]
WEB服务有待实践的检验[转][05-28]
使用 UDDI 的 Web 服务描述和发现..[05-28]
Data Integrity in Web Services..[05-28]
很老的文章了,不知道有人贴过没..[05-28]
浅谈SOAP (转)[05-28]
一并给你回答吧:webservice , s..[05-28]
XML Web Service 基础 (转微软MS..[05-28]
在运行时使用 UDDI (微软)[05-28]
实战Web服务[05-28]
WSDL文件详解(转贴)中[05-28]
WSDL文件详解(转贴)上[05-28]
Web Service描述语言 WSDL 详解(..[05-28]