using System; using System.Collections.Generic; using System.ServiceModel; //+ namespace TabulaRasa.Service { [ServiceContract(Namespace = Information.Person.Namespace)] public interface IPersonService { //- InitDatabase -// [OperationContract] void InitDatabase(); //- LoadPerson -// [OperationContract] Person LoadPerson(Int32 personId); //- LoadPersonList -// [OperationContract] List LoadPersonList(); //- LoadPersonWithSimulatedException -// [OperationContract] [FaultContract(typeof(InvalidOperationException))] Person LoadPersonWithSimulatedException( ); //- SavePerson -// [OperationContract] Int32 SavePerson(Person person); } }