|
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.1
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace WcfSqlNotifications.DuplexServiceReference {
using System.Runtime.Serialization;
using System;
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
[System.Runtime.Serialization.DataContractAttribute(Name="Employee", Namespace="http://schemas.datacontract.org/2004/07/SLDuplexDependency.Web.Model")]
[System.SerializableAttribute()]
public partial class Employee : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
[System.NonSerializedAttribute()]
private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string AddressField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string DOBField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string FirstNameField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private int IDField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string SecondNameField;
[global::System.ComponentModel.BrowsableAttribute(false)]
public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
get {
return this.extensionDataField;
}
set {
this.extensionDataField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string Address {
get {
return this.AddressField;
}
set {
if ((object.ReferenceEquals(this.AddressField, value) != true)) {
this.AddressField = value;
this.RaisePropertyChanged("Address");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string DOB {
get {
return this.DOBField;
}
set {
if ((object.ReferenceEquals(this.DOBField, value) != true)) {
this.DOBField = value;
this.RaisePropertyChanged("DOB");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string FirstName {
get {
return this.FirstNameField;
}
set {
if ((object.ReferenceEquals(this.FirstNameField, value) != true)) {
this.FirstNameField = value;
this.RaisePropertyChanged("FirstName");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public int ID {
get {
return this.IDField;
}
set {
if ((this.IDField.Equals(value) != true)) {
this.IDField = value;
this.RaisePropertyChanged("ID");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string SecondName {
get {
return this.SecondNameField;
}
set {
if ((object.ReferenceEquals(this.SecondNameField, value) != true)) {
this.SecondNameField = value;
this.RaisePropertyChanged("SecondName");
}
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected void RaisePropertyChanged(string propertyName) {
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
if ((propertyChanged != null)) {
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
}
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
[System.ServiceModel.ServiceContractAttribute(ConfigurationName="DuplexServiceReference.DBAudit")]
public interface DBAudit {
[System.ServiceModel.OperationContractAttribute(IsOneWay=true, Action="http://tempuri.org/DBAudit/SendTriggerAuditData")]
void SendTriggerAuditData(string data);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/DBAudit/GetEmployeeList", ReplyAction="http://tempuri.org/DBAudit/GetEmployeeListResponse")]
WcfSqlNotifications.DuplexServiceReference.Employee[] GetEmployeeList(System.DateTime startDate, System.DateTime endDate);
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public interface DBAuditChannel : WcfSqlNotifications.DuplexServiceReference.DBAudit, System.ServiceModel.IClientChannel {
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public partial class DBAuditClient : System.ServiceModel.ClientBase<WcfSqlNotifications.DuplexServiceReference.DBAudit>, WcfSqlNotifications.DuplexServiceReference.DBAudit {
public DBAuditClient() {
}
public DBAuditClient(string endpointConfigurationName) :
base(endpointConfigurationName) {
}
public DBAuditClient(string endpointConfigurationName, string remoteAddress) :
base(endpointConfigurationName, remoteAddress) {
}
public DBAuditClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
base(endpointConfigurationName, remoteAddress) {
}
public DBAuditClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
base(binding, remoteAddress) {
}
public void SendTriggerAuditData(string data) {
base.Channel.SendTriggerAuditData(data);
}
public WcfSqlNotifications.DuplexServiceReference.Employee[] GetEmployeeList(System.DateTime startDate, System.DateTime endDate) {
return base.Channel.GetEmployeeList(startDate, endDate);
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.