//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.239
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace SchoolSample.WCFService.SchoolService {
using System.Runtime.Serialization;
using System;
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
[System.Runtime.Serialization.CollectionDataContractAttribute(Name="ComplexTypeOriginalValuesDictionary", Namespace="http://schemas.datacontract.org/2004/07/SchoolSample.EntityModel", ItemName="ComplexTypeOriginalValues", KeyName="Name", ValueName="OriginalValue")]
[System.SerializableAttribute()]
public class ComplexTypeOriginalValuesDictionary : System.Collections.Generic.Dictionary<string, object> {
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
[System.Runtime.Serialization.CollectionDataContractAttribute(Name="ExtendedPropertiesDictionary", Namespace="http://schemas.datacontract.org/2004/07/SchoolSample.EntityModel", ItemName="ExtendedProperties", KeyName="Name", ValueName="ExtendedProperty")]
[System.SerializableAttribute()]
public class ExtendedPropertiesDictionary : System.Collections.Generic.Dictionary<string, object> {
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
[System.Runtime.Serialization.CollectionDataContractAttribute(Name="ObjectsAddedToCollectionProperties", Namespace="http://schemas.datacontract.org/2004/07/SchoolSample.EntityModel", ItemName="AddedObjectsForProperty", KeyName="CollectionPropertyName", ValueName="AddedObjects")]
[System.SerializableAttribute()]
public class ObjectsAddedToCollectionProperties : System.Collections.Generic.Dictionary<string, SchoolSample.WCFService.SchoolService.ObjectList> {
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
[System.Runtime.Serialization.CollectionDataContractAttribute(Name="ObjectList", Namespace="http://schemas.datacontract.org/2004/07/SchoolSample.EntityModel", ItemName="ObjectValue")]
[System.SerializableAttribute()]
public class ObjectList : System.Collections.Generic.List<object> {
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
[System.Runtime.Serialization.CollectionDataContractAttribute(Name="ObjectsRemovedFromCollectionProperties", Namespace="http://schemas.datacontract.org/2004/07/SchoolSample.EntityModel", ItemName="DeletedObjectsForProperty", KeyName="CollectionPropertyName", ValueName="DeletedObjects")]
[System.SerializableAttribute()]
public class ObjectsRemovedFromCollectionProperties : System.Collections.Generic.Dictionary<string, SchoolSample.WCFService.SchoolService.ObjectList> {
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
[System.Runtime.Serialization.CollectionDataContractAttribute(Name="OriginalValuesDictionary", Namespace="http://schemas.datacontract.org/2004/07/SchoolSample.EntityModel", ItemName="OriginalValues", KeyName="Name", ValueName="OriginalValue")]
[System.SerializableAttribute()]
public class OriginalValuesDictionary : System.Collections.Generic.Dictionary<string, object> {
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
[System.ServiceModel.ServiceContractAttribute(ConfigurationName="SchoolService.ISchoolService")]
public interface ISchoolService {
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISchoolService/GetStudents", ReplyAction="http://tempuri.org/ISchoolService/GetStudentsResponse")]
System.Collections.Generic.List<SchoolSample.EntityModel.Student> GetStudents(string includeOption);
[System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/ISchoolService/GetStudents", ReplyAction="http://tempuri.org/ISchoolService/GetStudentsResponse")]
System.IAsyncResult BeginGetStudents(string includeOption, System.AsyncCallback callback, object asyncState);
System.Collections.Generic.List<SchoolSample.EntityModel.Student> EndGetStudents(System.IAsyncResult result);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISchoolService/GetStudentById", ReplyAction="http://tempuri.org/ISchoolService/GetStudentByIdResponse")]
SchoolSample.EntityModel.Student GetStudentById(int studentId);
[System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/ISchoolService/GetStudentById", ReplyAction="http://tempuri.org/ISchoolService/GetStudentByIdResponse")]
System.IAsyncResult BeginGetStudentById(int studentId, System.AsyncCallback callback, object asyncState);
SchoolSample.EntityModel.Student EndGetStudentById(System.IAsyncResult result);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISchoolService/GetInstructors", ReplyAction="http://tempuri.org/ISchoolService/GetInstructorsResponse")]
System.Collections.Generic.List<SchoolSample.EntityModel.Instructor> GetInstructors(string includeOption);
[System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/ISchoolService/GetInstructors", ReplyAction="http://tempuri.org/ISchoolService/GetInstructorsResponse")]
System.IAsyncResult BeginGetInstructors(string includeOption, System.AsyncCallback callback, object asyncState);
System.Collections.Generic.List<SchoolSample.EntityModel.Instructor> EndGetInstructors(System.IAsyncResult result);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISchoolService/GetInstructorById", ReplyAction="http://tempuri.org/ISchoolService/GetInstructorByIdResponse")]
SchoolSample.EntityModel.Instructor GetInstructorById(int instructorId);
[System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/ISchoolService/GetInstructorById", ReplyAction="http://tempuri.org/ISchoolService/GetInstructorByIdResponse")]
System.IAsyncResult BeginGetInstructorById(int instructorId, System.AsyncCallback callback, object asyncState);
SchoolSample.EntityModel.Instructor EndGetInstructorById(System.IAsyncResult result);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISchoolService/GetCourses", ReplyAction="http://tempuri.org/ISchoolService/GetCoursesResponse")]
System.Collections.Generic.List<SchoolSample.EntityModel.Course> GetCourses();
[System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/ISchoolService/GetCourses", ReplyAction="http://tempuri.org/ISchoolService/GetCoursesResponse")]
System.IAsyncResult BeginGetCourses(System.AsyncCallback callback, object asyncState);
System.Collections.Generic.List<SchoolSample.EntityModel.Course> EndGetCourses(System.IAsyncResult result);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISchoolService/GetCourseById", ReplyAction="http://tempuri.org/ISchoolService/GetCourseByIdResponse")]
SchoolSample.EntityModel.Course GetCourseById(int courseId);
[System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/ISchoolService/GetCourseById", ReplyAction="http://tempuri.org/ISchoolService/GetCourseByIdResponse")]
System.IAsyncResult BeginGetCourseById(int courseId, System.AsyncCallback callback, object asyncState);
SchoolSample.EntityModel.Course EndGetCourseById(System.IAsyncResult result);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISchoolService/UpdateInstructor", ReplyAction="http://tempuri.org/ISchoolService/UpdateInstructorResponse")]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<object>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<SchoolSample.EntityModel.Student>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(SchoolSample.EntityModel.Student))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(SchoolSample.EntityModel.Person))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(SchoolSample.EntityModel.ObjectChangeTracker))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(SchoolSample.WCFService.SchoolService.ComplexTypeOriginalValuesDictionary))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(SchoolSample.WCFService.SchoolService.ExtendedPropertiesDictionary))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(SchoolSample.WCFService.SchoolService.ObjectsAddedToCollectionProperties))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(SchoolSample.WCFService.SchoolService.ObjectList))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(SchoolSample.WCFService.SchoolService.ObjectsRemovedFromCollectionProperties))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(SchoolSample.WCFService.SchoolService.OriginalValuesDictionary))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(SchoolSample.EntityModel.ObjectState))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(SchoolSample.EntityModel.Instructor))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<SchoolSample.EntityModel.Course>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(SchoolSample.EntityModel.Course))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<SchoolSample.EntityModel.Enrollment>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(SchoolSample.EntityModel.Enrollment))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<SchoolSample.EntityModel.Instructor>))]
System.Collections.Generic.List<object> UpdateInstructor(SchoolSample.EntityModel.Instructor item);
[System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/ISchoolService/UpdateInstructor", ReplyAction="http://tempuri.org/ISchoolService/UpdateInstructorResponse")]
System.IAsyncResult BeginUpdateInstructor(SchoolSample.EntityModel.Instructor item, System.AsyncCallback callback, object asyncState);
System.Collections.Generic.List<object> EndUpdateInstructor(System.IAsyncResult result);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISchoolService/UpdateStudent", ReplyAction="http://tempuri.org/ISchoolService/UpdateStudentResponse")]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<object>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<SchoolSample.EntityModel.Student>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(SchoolSample.EntityModel.Student))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(SchoolSample.EntityModel.Person))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(SchoolSample.EntityModel.ObjectChangeTracker))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(SchoolSample.WCFService.SchoolService.ComplexTypeOriginalValuesDictionary))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(SchoolSample.WCFService.SchoolService.ExtendedPropertiesDictionary))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(SchoolSample.WCFService.SchoolService.ObjectsAddedToCollectionProperties))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(SchoolSample.WCFService.SchoolService.ObjectList))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(SchoolSample.WCFService.SchoolService.ObjectsRemovedFromCollectionProperties))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(SchoolSample.WCFService.SchoolService.OriginalValuesDictionary))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(SchoolSample.EntityModel.ObjectState))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(SchoolSample.EntityModel.Instructor))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<SchoolSample.EntityModel.Course>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(SchoolSample.EntityModel.Course))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<SchoolSample.EntityModel.Enrollment>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(SchoolSample.EntityModel.Enrollment))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<SchoolSample.EntityModel.Instructor>))]
System.Collections.Generic.List<object> UpdateStudent(SchoolSample.EntityModel.Student item);
[System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/ISchoolService/UpdateStudent", ReplyAction="http://tempuri.org/ISchoolService/UpdateStudentResponse")]
System.IAsyncResult BeginUpdateStudent(SchoolSample.EntityModel.Student item, System.AsyncCallback callback, object asyncState);
System.Collections.Generic.List<object> EndUpdateStudent(System.IAsyncResult result);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISchoolService/UpdateCourse", ReplyAction="http://tempuri.org/ISchoolService/UpdateCourseResponse")]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<object>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<SchoolSample.EntityModel.Student>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(SchoolSample.EntityModel.Student))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(SchoolSample.EntityModel.Person))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(SchoolSample.EntityModel.ObjectChangeTracker))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(SchoolSample.WCFService.SchoolService.ComplexTypeOriginalValuesDictionary))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(SchoolSample.WCFService.SchoolService.ExtendedPropertiesDictionary))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(SchoolSample.WCFService.SchoolService.ObjectsAddedToCollectionProperties))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(SchoolSample.WCFService.SchoolService.ObjectList))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(SchoolSample.WCFService.SchoolService.ObjectsRemovedFromCollectionProperties))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(SchoolSample.WCFService.SchoolService.OriginalValuesDictionary))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(SchoolSample.EntityModel.ObjectState))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(SchoolSample.EntityModel.Instructor))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<SchoolSample.EntityModel.Course>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(SchoolSample.EntityModel.Course))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<SchoolSample.EntityModel.Enrollment>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(SchoolSample.EntityModel.Enrollment))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<SchoolSample.EntityModel.Instructor>))]
System.Collections.Generic.List<object> UpdateCourse(SchoolSample.EntityModel.Course item);
[System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/ISchoolService/UpdateCourse", ReplyAction="http://tempuri.org/ISchoolService/UpdateCourseResponse")]
System.IAsyncResult BeginUpdateCourse(SchoolSample.EntityModel.Course item, System.AsyncCallback callback, object asyncState);
System.Collections.Generic.List<object> EndUpdateCourse(System.IAsyncResult result);
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public interface ISchoolServiceChannel : SchoolSample.WCFService.SchoolService.ISchoolService, System.ServiceModel.IClientChannel {
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public partial class GetStudentsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
public GetStudentsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
public System.Collections.Generic.List<SchoolSample.EntityModel.Student> Result {
get {
base.RaiseExceptionIfNecessary();
return ((System.Collections.Generic.List<SchoolSample.EntityModel.Student>)(this.results[0]));
}
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public partial class GetStudentByIdCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
public GetStudentByIdCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
public SchoolSample.EntityModel.Student Result {
get {
base.RaiseExceptionIfNecessary();
return ((SchoolSample.EntityModel.Student)(this.results[0]));
}
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public partial class GetInstructorsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
public GetInstructorsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
public System.Collections.Generic.List<SchoolSample.EntityModel.Instructor> Result {
get {
base.RaiseExceptionIfNecessary();
return ((System.Collections.Generic.List<SchoolSample.EntityModel.Instructor>)(this.results[0]));
}
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public partial class GetInstructorByIdCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
public GetInstructorByIdCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
public SchoolSample.EntityModel.Instructor Result {
get {
base.RaiseExceptionIfNecessary();
return ((SchoolSample.EntityModel.Instructor)(this.results[0]));
}
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public partial class GetCoursesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
public GetCoursesCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
public System.Collections.Generic.List<SchoolSample.EntityModel.Course> Result {
get {
base.RaiseExceptionIfNecessary();
return ((System.Collections.Generic.List<SchoolSample.EntityModel.Course>)(this.results[0]));
}
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public partial class GetCourseByIdCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
public GetCourseByIdCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
public SchoolSample.EntityModel.Course Result {
get {
base.RaiseExceptionIfNecessary();
return ((SchoolSample.EntityModel.Course)(this.results[0]));
}
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public partial class UpdateInstructorCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
public UpdateInstructorCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
public System.Collections.Generic.List<object> Result {
get {
base.RaiseExceptionIfNecessary();
return ((System.Collections.Generic.List<object>)(this.results[0]));
}
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public partial class UpdateStudentCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
public UpdateStudentCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
public System.Collections.Generic.List<object> Result {
get {
base.RaiseExceptionIfNecessary();
return ((System.Collections.Generic.List<object>)(this.results[0]));
}
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public partial class UpdateCourseCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
public UpdateCourseCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
public System.Collections.Generic.List<object> Result {
get {
base.RaiseExceptionIfNecessary();
return ((System.Collections.Generic.List<object>)(this.results[0]));
}
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public partial class SchoolServiceClient : System.ServiceModel.ClientBase<SchoolSample.WCFService.SchoolService.ISchoolService>, SchoolSample.WCFService.SchoolService.ISchoolService {
private BeginOperationDelegate onBeginGetStudentsDelegate;
private EndOperationDelegate onEndGetStudentsDelegate;
private System.Threading.SendOrPostCallback onGetStudentsCompletedDelegate;
private BeginOperationDelegate onBeginGetStudentByIdDelegate;
private EndOperationDelegate onEndGetStudentByIdDelegate;
private System.Threading.SendOrPostCallback onGetStudentByIdCompletedDelegate;
private BeginOperationDelegate onBeginGetInstructorsDelegate;
private EndOperationDelegate onEndGetInstructorsDelegate;
private System.Threading.SendOrPostCallback onGetInstructorsCompletedDelegate;
private BeginOperationDelegate onBeginGetInstructorByIdDelegate;
private EndOperationDelegate onEndGetInstructorByIdDelegate;
private System.Threading.SendOrPostCallback onGetInstructorByIdCompletedDelegate;
private BeginOperationDelegate onBeginGetCoursesDelegate;
private EndOperationDelegate onEndGetCoursesDelegate;
private System.Threading.SendOrPostCallback onGetCoursesCompletedDelegate;
private BeginOperationDelegate onBeginGetCourseByIdDelegate;
private EndOperationDelegate onEndGetCourseByIdDelegate;
private System.Threading.SendOrPostCallback onGetCourseByIdCompletedDelegate;
private BeginOperationDelegate onBeginUpdateInstructorDelegate;
private EndOperationDelegate onEndUpdateInstructorDelegate;
private System.Threading.SendOrPostCallback onUpdateInstructorCompletedDelegate;
private BeginOperationDelegate onBeginUpdateStudentDelegate;
private EndOperationDelegate onEndUpdateStudentDelegate;
private System.Threading.SendOrPostCallback onUpdateStudentCompletedDelegate;
private BeginOperationDelegate onBeginUpdateCourseDelegate;
private EndOperationDelegate onEndUpdateCourseDelegate;
private System.Threading.SendOrPostCallback onUpdateCourseCompletedDelegate;
public SchoolServiceClient() {
}
public SchoolServiceClient(string endpointConfigurationName) :
base(endpointConfigurationName) {
}
public SchoolServiceClient(string endpointConfigurationName, string remoteAddress) :
base(endpointConfigurationName, remoteAddress) {
}
public SchoolServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
base(endpointConfigurationName, remoteAddress) {
}
public SchoolServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
base(binding, remoteAddress) {
}
public event System.EventHandler<GetStudentsCompletedEventArgs> GetStudentsCompleted;
public event System.EventHandler<GetStudentByIdCompletedEventArgs> GetStudentByIdCompleted;
public event System.EventHandler<GetInstructorsCompletedEventArgs> GetInstructorsCompleted;
public event System.EventHandler<GetInstructorByIdCompletedEventArgs> GetInstructorByIdCompleted;
public event System.EventHandler<GetCoursesCompletedEventArgs> GetCoursesCompleted;
public event System.EventHandler<GetCourseByIdCompletedEventArgs> GetCourseByIdCompleted;
public event System.EventHandler<UpdateInstructorCompletedEventArgs> UpdateInstructorCompleted;
public event System.EventHandler<UpdateStudentCompletedEventArgs> UpdateStudentCompleted;
public event System.EventHandler<UpdateCourseCompletedEventArgs> UpdateCourseCompleted;
public System.Collections.Generic.List<SchoolSample.EntityModel.Student> GetStudents(string includeOption) {
return base.Channel.GetStudents(includeOption);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
public System.IAsyncResult BeginGetStudents(string includeOption, System.AsyncCallback callback, object asyncState) {
return base.Channel.BeginGetStudents(includeOption, callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
public System.Collections.Generic.List<SchoolSample.EntityModel.Student> EndGetStudents(System.IAsyncResult result) {
return base.Channel.EndGetStudents(result);
}
private System.IAsyncResult OnBeginGetStudents(object[] inValues, System.AsyncCallback callback, object asyncState) {
string includeOption = ((string)(inValues[0]));
return this.BeginGetStudents(includeOption, callback, asyncState);
}
private object[] OnEndGetStudents(System.IAsyncResult result) {
System.Collections.Generic.List<SchoolSample.EntityModel.Student> retVal = this.EndGetStudents(result);
return new object[] {
retVal};
}
private void OnGetStudentsCompleted(object state) {
if ((this.GetStudentsCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
this.GetStudentsCompleted(this, new GetStudentsCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
}
}
public void GetStudentsAsync(string includeOption) {
this.GetStudentsAsync(includeOption, null);
}
public void GetStudentsAsync(string includeOption, object userState) {
if ((this.onBeginGetStudentsDelegate == null)) {
this.onBeginGetStudentsDelegate = new BeginOperationDelegate(this.OnBeginGetStudents);
}
if ((this.onEndGetStudentsDelegate == null)) {
this.onEndGetStudentsDelegate = new EndOperationDelegate(this.OnEndGetStudents);
}
if ((this.onGetStudentsCompletedDelegate == null)) {
this.onGetStudentsCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetStudentsCompleted);
}
base.InvokeAsync(this.onBeginGetStudentsDelegate, new object[] {
includeOption}, this.onEndGetStudentsDelegate, this.onGetStudentsCompletedDelegate, userState);
}
public SchoolSample.EntityModel.Student GetStudentById(int studentId) {
return base.Channel.GetStudentById(studentId);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
public System.IAsyncResult BeginGetStudentById(int studentId, System.AsyncCallback callback, object asyncState) {
return base.Channel.BeginGetStudentById(studentId, callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
public SchoolSample.EntityModel.Student EndGetStudentById(System.IAsyncResult result) {
return base.Channel.EndGetStudentById(result);
}
private System.IAsyncResult OnBeginGetStudentById(object[] inValues, System.AsyncCallback callback, object asyncState) {
int studentId = ((int)(inValues[0]));
return this.BeginGetStudentById(studentId, callback, asyncState);
}
private object[] OnEndGetStudentById(System.IAsyncResult result) {
SchoolSample.EntityModel.Student retVal = this.EndGetStudentById(result);
return new object[] {
retVal};
}
private void OnGetStudentByIdCompleted(object state) {
if ((this.GetStudentByIdCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
this.GetStudentByIdCompleted(this, new GetStudentByIdCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
}
}
public void GetStudentByIdAsync(int studentId) {
this.GetStudentByIdAsync(studentId, null);
}
public void GetStudentByIdAsync(int studentId, object userState) {
if ((this.onBeginGetStudentByIdDelegate == null)) {
this.onBeginGetStudentByIdDelegate = new BeginOperationDelegate(this.OnBeginGetStudentById);
}
if ((this.onEndGetStudentByIdDelegate == null)) {
this.onEndGetStudentByIdDelegate = new EndOperationDelegate(this.OnEndGetStudentById);
}
if ((this.onGetStudentByIdCompletedDelegate == null)) {
this.onGetStudentByIdCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetStudentByIdCompleted);
}
base.InvokeAsync(this.onBeginGetStudentByIdDelegate, new object[] {
studentId}, this.onEndGetStudentByIdDelegate, this.onGetStudentByIdCompletedDelegate, userState);
}
public System.Collections.Generic.List<SchoolSample.EntityModel.Instructor> GetInstructors(string includeOption) {
return base.Channel.GetInstructors(includeOption);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
public System.IAsyncResult BeginGetInstructors(string includeOption, System.AsyncCallback callback, object asyncState) {
return base.Channel.BeginGetInstructors(includeOption, callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
public System.Collections.Generic.List<SchoolSample.EntityModel.Instructor> EndGetInstructors(System.IAsyncResult result) {
return base.Channel.EndGetInstructors(result);
}
private System.IAsyncResult OnBeginGetInstructors(object[] inValues, System.AsyncCallback callback, object asyncState) {
string includeOption = ((string)(inValues[0]));
return this.BeginGetInstructors(includeOption, callback, asyncState);
}
private object[] OnEndGetInstructors(System.IAsyncResult result) {
System.Collections.Generic.List<SchoolSample.EntityModel.Instructor> retVal = this.EndGetInstructors(result);
return new object[] {
retVal};
}
private void OnGetInstructorsCompleted(object state) {
if ((this.GetInstructorsCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
this.GetInstructorsCompleted(this, new GetInstructorsCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
}
}
public void GetInstructorsAsync(string includeOption) {
this.GetInstructorsAsync(includeOption, null);
}
public void GetInstructorsAsync(string includeOption, object userState) {
if ((this.onBeginGetInstructorsDelegate == null)) {
this.onBeginGetInstructorsDelegate = new BeginOperationDelegate(this.OnBeginGetInstructors);
}
if ((this.onEndGetInstructorsDelegate == null)) {
this.onEndGetInstructorsDelegate = new EndOperationDelegate(this.OnEndGetInstructors);
}
if ((this.onGetInstructorsCompletedDelegate == null)) {
this.onGetInstructorsCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetInstructorsCompleted);
}
base.InvokeAsync(this.onBeginGetInstructorsDelegate, new object[] {
includeOption}, this.onEndGetInstructorsDelegate, this.onGetInstructorsCompletedDelegate, userState);
}
public SchoolSample.EntityModel.Instructor GetInstructorById(int instructorId) {
return base.Channel.GetInstructorById(instructorId);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
public System.IAsyncResult BeginGetInstructorById(int instructorId, System.AsyncCallback callback, object asyncState) {
return base.Channel.BeginGetInstructorById(instructorId, callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
public SchoolSample.EntityModel.Instructor EndGetInstructorById(System.IAsyncResult result) {
return base.Channel.EndGetInstructorById(result);
}
private System.IAsyncResult OnBeginGetInstructorById(object[] inValues, System.AsyncCallback callback, object asyncState) {
int instructorId = ((int)(inValues[0]));
return this.BeginGetInstructorById(instructorId, callback, asyncState);
}
private object[] OnEndGetInstructorById(System.IAsyncResult result) {
SchoolSample.EntityModel.Instructor retVal = this.EndGetInstructorById(result);
return new object[] {
retVal};
}
private void OnGetInstructorByIdCompleted(object state) {
if ((this.GetInstructorByIdCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
this.GetInstructorByIdCompleted(this, new GetInstructorByIdCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
}
}
public void GetInstructorByIdAsync(int instructorId) {
this.GetInstructorByIdAsync(instructorId, null);
}
public void GetInstructorByIdAsync(int instructorId, object userState) {
if ((this.onBeginGetInstructorByIdDelegate == null)) {
this.onBeginGetInstructorByIdDelegate = new BeginOperationDelegate(this.OnBeginGetInstructorById);
}
if ((this.onEndGetInstructorByIdDelegate == null)) {
this.onEndGetInstructorByIdDelegate = new EndOperationDelegate(this.OnEndGetInstructorById);
}
if ((this.onGetInstructorByIdCompletedDelegate == null)) {
this.onGetInstructorByIdCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetInstructorByIdCompleted);
}
base.InvokeAsync(this.onBeginGetInstructorByIdDelegate, new object[] {
instructorId}, this.onEndGetInstructorByIdDelegate, this.onGetInstructorByIdCompletedDelegate, userState);
}
public System.Collections.Generic.List<SchoolSample.EntityModel.Course> GetCourses() {
return base.Channel.GetCourses();
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
public System.IAsyncResult BeginGetCourses(System.AsyncCallback callback, object asyncState) {
return base.Channel.BeginGetCourses(callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
public System.Collections.Generic.List<SchoolSample.EntityModel.Course> EndGetCourses(System.IAsyncResult result) {
return base.Channel.EndGetCourses(result);
}
private System.IAsyncResult OnBeginGetCourses(object[] inValues, System.AsyncCallback callback, object asyncState) {
return this.BeginGetCourses(callback, asyncState);
}
private object[] OnEndGetCourses(System.IAsyncResult result) {
System.Collections.Generic.List<SchoolSample.EntityModel.Course> retVal = this.EndGetCourses(result);
return new object[] {
retVal};
}
private void OnGetCoursesCompleted(object state) {
if ((this.GetCoursesCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
this.GetCoursesCompleted(this, new GetCoursesCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
}
}
public void GetCoursesAsync() {
this.GetCoursesAsync(null);
}
public void GetCoursesAsync(object userState) {
if ((this.onBeginGetCoursesDelegate == null)) {
this.onBeginGetCoursesDelegate = new BeginOperationDelegate(this.OnBeginGetCourses);
}
if ((this.onEndGetCoursesDelegate == null)) {
this.onEndGetCoursesDelegate = new EndOperationDelegate(this.OnEndGetCourses);
}
if ((this.onGetCoursesCompletedDelegate == null)) {
this.onGetCoursesCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetCoursesCompleted);
}
base.InvokeAsync(this.onBeginGetCoursesDelegate, null, this.onEndGetCoursesDelegate, this.onGetCoursesCompletedDelegate, userState);
}
public SchoolSample.EntityModel.Course GetCourseById(int courseId) {
return base.Channel.GetCourseById(courseId);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
public System.IAsyncResult BeginGetCourseById(int courseId, System.AsyncCallback callback, object asyncState) {
return base.Channel.BeginGetCourseById(courseId, callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
public SchoolSample.EntityModel.Course EndGetCourseById(System.IAsyncResult result) {
return base.Channel.EndGetCourseById(result);
}
private System.IAsyncResult OnBeginGetCourseById(object[] inValues, System.AsyncCallback callback, object asyncState) {
int courseId = ((int)(inValues[0]));
return this.BeginGetCourseById(courseId, callback, asyncState);
}
private object[] OnEndGetCourseById(System.IAsyncResult result) {
SchoolSample.EntityModel.Course retVal = this.EndGetCourseById(result);
return new object[] {
retVal};
}
private void OnGetCourseByIdCompleted(object state) {
if ((this.GetCourseByIdCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
this.GetCourseByIdCompleted(this, new GetCourseByIdCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
}
}
public void GetCourseByIdAsync(int courseId) {
this.GetCourseByIdAsync(courseId, null);
}
public void GetCourseByIdAsync(int courseId, object userState) {
if ((this.onBeginGetCourseByIdDelegate == null)) {
this.onBeginGetCourseByIdDelegate = new BeginOperationDelegate(this.OnBeginGetCourseById);
}
if ((this.onEndGetCourseByIdDelegate == null)) {
this.onEndGetCourseByIdDelegate = new EndOperationDelegate(this.OnEndGetCourseById);
}
if ((this.onGetCourseByIdCompletedDelegate == null)) {
this.onGetCourseByIdCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetCourseByIdCompleted);
}
base.InvokeAsync(this.onBeginGetCourseByIdDelegate, new object[] {
courseId}, this.onEndGetCourseByIdDelegate, this.onGetCourseByIdCompletedDelegate, userState);
}
public System.Collections.Generic.List<object> UpdateInstructor(SchoolSample.EntityModel.Instructor item) {
return base.Channel.UpdateInstructor(item);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
public System.IAsyncResult BeginUpdateInstructor(SchoolSample.EntityModel.Instructor item, System.AsyncCallback callback, object asyncState) {
return base.Channel.BeginUpdateInstructor(item, callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
public System.Collections.Generic.List<object> EndUpdateInstructor(System.IAsyncResult result) {
return base.Channel.EndUpdateInstructor(result);
}
private System.IAsyncResult OnBeginUpdateInstructor(object[] inValues, System.AsyncCallback callback, object asyncState) {
SchoolSample.EntityModel.Instructor item = ((SchoolSample.EntityModel.Instructor)(inValues[0]));
return this.BeginUpdateInstructor(item, callback, asyncState);
}
private object[] OnEndUpdateInstructor(System.IAsyncResult result) {
System.Collections.Generic.List<object> retVal = this.EndUpdateInstructor(result);
return new object[] {
retVal};
}
private void OnUpdateInstructorCompleted(object state) {
if ((this.UpdateInstructorCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
this.UpdateInstructorCompleted(this, new UpdateInstructorCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
}
}
public void UpdateInstructorAsync(SchoolSample.EntityModel.Instructor item) {
this.UpdateInstructorAsync(item, null);
}
public void UpdateInstructorAsync(SchoolSample.EntityModel.Instructor item, object userState) {
if ((this.onBeginUpdateInstructorDelegate == null)) {
this.onBeginUpdateInstructorDelegate = new BeginOperationDelegate(this.OnBeginUpdateInstructor);
}
if ((this.onEndUpdateInstructorDelegate == null)) {
this.onEndUpdateInstructorDelegate = new EndOperationDelegate(this.OnEndUpdateInstructor);
}
if ((this.onUpdateInstructorCompletedDelegate == null)) {
this.onUpdateInstructorCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnUpdateInstructorCompleted);
}
base.InvokeAsync(this.onBeginUpdateInstructorDelegate, new object[] {
item}, this.onEndUpdateInstructorDelegate, this.onUpdateInstructorCompletedDelegate, userState);
}
public System.Collections.Generic.List<object> UpdateStudent(SchoolSample.EntityModel.Student item) {
return base.Channel.UpdateStudent(item);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
public System.IAsyncResult BeginUpdateStudent(SchoolSample.EntityModel.Student item, System.AsyncCallback callback, object asyncState) {
return base.Channel.BeginUpdateStudent(item, callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
public System.Collections.Generic.List<object> EndUpdateStudent(System.IAsyncResult result) {
return base.Channel.EndUpdateStudent(result);
}
private System.IAsyncResult OnBeginUpdateStudent(object[] inValues, System.AsyncCallback callback, object asyncState) {
SchoolSample.EntityModel.Student item = ((SchoolSample.EntityModel.Student)(inValues[0]));
return this.BeginUpdateStudent(item, callback, asyncState);
}
private object[] OnEndUpdateStudent(System.IAsyncResult result) {
System.Collections.Generic.List<object> retVal = this.EndUpdateStudent(result);
return new object[] {
retVal};
}
private void OnUpdateStudentCompleted(object state) {
if ((this.UpdateStudentCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
this.UpdateStudentCompleted(this, new UpdateStudentCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
}
}
public void UpdateStudentAsync(SchoolSample.EntityModel.Student item) {
this.UpdateStudentAsync(item, null);
}
public void UpdateStudentAsync(SchoolSample.EntityModel.Student item, object userState) {
if ((this.onBeginUpdateStudentDelegate == null)) {
this.onBeginUpdateStudentDelegate = new BeginOperationDelegate(this.OnBeginUpdateStudent);
}
if ((this.onEndUpdateStudentDelegate == null)) {
this.onEndUpdateStudentDelegate = new EndOperationDelegate(this.OnEndUpdateStudent);
}
if ((this.onUpdateStudentCompletedDelegate == null)) {
this.onUpdateStudentCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnUpdateStudentCompleted);
}
base.InvokeAsync(this.onBeginUpdateStudentDelegate, new object[] {
item}, this.onEndUpdateStudentDelegate, this.onUpdateStudentCompletedDelegate, userState);
}
public System.Collections.Generic.List<object> UpdateCourse(SchoolSample.EntityModel.Course item) {
return base.Channel.UpdateCourse(item);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
public System.IAsyncResult BeginUpdateCourse(SchoolSample.EntityModel.Course item, System.AsyncCallback callback, object asyncState) {
return base.Channel.BeginUpdateCourse(item, callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
public System.Collections.Generic.List<object> EndUpdateCourse(System.IAsyncResult result) {
return base.Channel.EndUpdateCourse(result);
}
private System.IAsyncResult OnBeginUpdateCourse(object[] inValues, System.AsyncCallback callback, object asyncState) {
SchoolSample.EntityModel.Course item = ((SchoolSample.EntityModel.Course)(inValues[0]));
return this.BeginUpdateCourse(item, callback, asyncState);
}
private object[] OnEndUpdateCourse(System.IAsyncResult result) {
System.Collections.Generic.List<object> retVal = this.EndUpdateCourse(result);
return new object[] {
retVal};
}
private void OnUpdateCourseCompleted(object state) {
if ((this.UpdateCourseCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
this.UpdateCourseCompleted(this, new UpdateCourseCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
}
}
public void UpdateCourseAsync(SchoolSample.EntityModel.Course item) {
this.UpdateCourseAsync(item, null);
}
public void UpdateCourseAsync(SchoolSample.EntityModel.Course item, object userState) {
if ((this.onBeginUpdateCourseDelegate == null)) {
this.onBeginUpdateCourseDelegate = new BeginOperationDelegate(this.OnBeginUpdateCourse);
}
if ((this.onEndUpdateCourseDelegate == null)) {
this.onEndUpdateCourseDelegate = new EndOperationDelegate(this.OnEndUpdateCourse);
}
if ((this.onUpdateCourseCompletedDelegate == null)) {
this.onUpdateCourseCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnUpdateCourseCompleted);
}
base.InvokeAsync(this.onBeginUpdateCourseDelegate, new object[] {
item}, this.onEndUpdateCourseDelegate, this.onUpdateCourseCompletedDelegate, userState);
}
}
}