Type.registerNamespace('WebApplication.Ajax.Json');
WebApplication.Ajax.Json.IEntityRegistryServices=function() {
WebApplication.Ajax.Json.IEntityRegistryServices.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
WebApplication.Ajax.Json.IEntityRegistryServices.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return WebApplication.Ajax.Json.IEntityRegistryServices._staticInstance.get_path();},
GetIEntities:function(dtoFilter1,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetIEntities',false,{dtoFilter1:dtoFilter1},succeededCallback,failedCallback,userContext); }}
WebApplication.Ajax.Json.IEntityRegistryServices.registerClass('WebApplication.Ajax.Json.IEntityRegistryServices',Sys.Net.WebServiceProxy);
WebApplication.Ajax.Json.IEntityRegistryServices._staticInstance = new WebApplication.Ajax.Json.IEntityRegistryServices();
WebApplication.Ajax.Json.IEntityRegistryServices.set_path = function(value) { WebApplication.Ajax.Json.IEntityRegistryServices._staticInstance.set_path(value); }
WebApplication.Ajax.Json.IEntityRegistryServices.get_path = function() { return WebApplication.Ajax.Json.IEntityRegistryServices._staticInstance.get_path(); }
WebApplication.Ajax.Json.IEntityRegistryServices.set_timeout = function(value) { WebApplication.Ajax.Json.IEntityRegistryServices._staticInstance.set_timeout(value); }
WebApplication.Ajax.Json.IEntityRegistryServices.get_timeout = function() { return WebApplication.Ajax.Json.IEntityRegistryServices._staticInstance.get_timeout(); }
WebApplication.Ajax.Json.IEntityRegistryServices.set_defaultUserContext = function(value) { WebApplication.Ajax.Json.IEntityRegistryServices._staticInstance.set_defaultUserContext(value); }
WebApplication.Ajax.Json.IEntityRegistryServices.get_defaultUserContext = function() { return WebApplication.Ajax.Json.IEntityRegistryServices._staticInstance.get_defaultUserContext(); }
WebApplication.Ajax.Json.IEntityRegistryServices.set_defaultSucceededCallback = function(value) { WebApplication.Ajax.Json.IEntityRegistryServices._staticInstance.set_defaultSucceededCallback(value); }
WebApplication.Ajax.Json.IEntityRegistryServices.get_defaultSucceededCallback = function() { return WebApplication.Ajax.Json.IEntityRegistryServices._staticInstance.get_defaultSucceededCallback(); }
WebApplication.Ajax.Json.IEntityRegistryServices.set_defaultFailedCallback = function(value) { WebApplication.Ajax.Json.IEntityRegistryServices._staticInstance.set_defaultFailedCallback(value); }
WebApplication.Ajax.Json.IEntityRegistryServices.get_defaultFailedCallback = function() { return WebApplication.Ajax.Json.IEntityRegistryServices._staticInstance.get_defaultFailedCallback(); }
WebApplication.Ajax.Json.IEntityRegistryServices.set_path("/Ajax/Json/IEntityRegistryServices.svc");
WebApplication.Ajax.Json.IEntityRegistryServices.GetIEntities= function(dtoFilter1,onSuccess,onFailed,userContext) {WebApplication.Ajax.Json.IEntityRegistryServices._staticInstance.GetIEntities(dtoFilter1,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('WebApplication.Data.DTOs.IEntityRegistry');
if (typeof(WebApplication.Data.DTOs.IEntityRegistry.IEntityFilter) === 'undefined') {
WebApplication.Data.DTOs.IEntityRegistry.IEntityFilter=gtc("IEntityFilter:WebApplication.Data.DTOs.IEntityRegistry");
WebApplication.Data.DTOs.IEntityRegistry.IEntityFilter.registerClass('WebApplication.Data.DTOs.IEntityRegistry.IEntityFilter');
}
Type.registerNamespace('WebApplication.Data.DTOs.Common');
if (typeof(WebApplication.Data.DTOs.Common.DateRange) === 'undefined') {
WebApplication.Data.DTOs.Common.DateRange=gtc("DateRange:http://schemas.datacontract.org/2004/07/WebApplication.Data.DTOs.Common");
WebApplication.Data.DTOs.Common.DateRange.registerClass('WebApplication.Data.DTOs.Common.DateRange');
}
if (typeof(WebApplication.Data.DTOs.IEntityRegistry.IEntityFilterResults) === 'undefined') {
WebApplication.Data.DTOs.IEntityRegistry.IEntityFilterResults=gtc("IEntityFilterResults:WebApplication.Data.DTOs.IEntityRegistry");
WebApplication.Data.DTOs.IEntityRegistry.IEntityFilterResults.registerClass('WebApplication.Data.DTOs.IEntityRegistry.IEntityFilterResults');
}
if (typeof(WebApplication.Data.DTOs.IEntityRegistry.IEntity) === 'undefined') {
WebApplication.Data.DTOs.IEntityRegistry.IEntity=gtc("IEntity:WebApplication.Data.DTOs.IEntityRegistry");
WebApplication.Data.DTOs.IEntityRegistry.IEntity.registerClass('WebApplication.Data.DTOs.IEntityRegistry.IEntity');
}
if (typeof(WebApplication.Data.DTOs.IEntityRegistry.Organization) === 'undefined') {
WebApplication.Data.DTOs.IEntityRegistry.Organization=gtc("Organization:WebApplication.Data.DTOs.IEntityRegistry");
WebApplication.Data.DTOs.IEntityRegistry.Organization.registerClass('WebApplication.Data.DTOs.IEntityRegistry.Organization');
}
if (typeof(WebApplication.Data.DTOs.IEntityRegistry.Contact) === 'undefined') {
WebApplication.Data.DTOs.IEntityRegistry.Contact=gtc("Contact:WebApplication.Data.DTOs.IEntityRegistry");
WebApplication.Data.DTOs.IEntityRegistry.Contact.registerClass('WebApplication.Data.DTOs.IEntityRegistry.Contact');
}
if (typeof(WebApplication.Data.DTOs.IEntityRegistry.Location) === 'undefined') {
WebApplication.Data.DTOs.IEntityRegistry.Location=gtc("Location:WebApplication.Data.DTOs.IEntityRegistry");
WebApplication.Data.DTOs.IEntityRegistry.Location.registerClass('WebApplication.Data.DTOs.IEntityRegistry.Location');
}
if (typeof(WebApplication.Data.DTOs.IEntityRegistry.OrganizationMember) === 'undefined') {
WebApplication.Data.DTOs.IEntityRegistry.OrganizationMember=gtc("OrganizationMember:WebApplication.Data.DTOs.IEntityRegistry");
WebApplication.Data.DTOs.IEntityRegistry.OrganizationMember.registerClass('WebApplication.Data.DTOs.IEntityRegistry.OrganizationMember');
}
if (typeof(WebApplication.Data.DTOs.IEntityRegistry.Person) === 'undefined') {
WebApplication.Data.DTOs.IEntityRegistry.Person=gtc("Person:WebApplication.Data.DTOs.IEntityRegistry");
WebApplication.Data.DTOs.IEntityRegistry.Person.registerClass('WebApplication.Data.DTOs.IEntityRegistry.Person');
}
Type.registerNamespace('WebApplication.Data.DTOs.Groups');
if (typeof(WebApplication.Data.DTOs.Groups.Group) === 'undefined') {
WebApplication.Data.DTOs.Groups.Group=gtc("Group:WebApplication.Data.DTOs.Groups");
WebApplication.Data.DTOs.Groups.Group.registerClass('WebApplication.Data.DTOs.Groups.Group');
}
Type.registerNamespace('WebApplication.Data.DTOs.Security');
if (typeof(WebApplication.Data.DTOs.Security.LoginCredential) === 'undefined') {
WebApplication.Data.DTOs.Security.LoginCredential=gtc("LoginCredential:WebApplication.Data.DTOs.Security");
WebApplication.Data.DTOs.Security.LoginCredential.registerClass('WebApplication.Data.DTOs.Security.LoginCredential');
}
if (typeof(WebApplication.Data.DTOs.IEntityRegistry.IEntityRole) === 'undefined') {
WebApplication.Data.DTOs.IEntityRegistry.IEntityRole = function() { throw Error.invalidOperation(); }
WebApplication.Data.DTOs.IEntityRegistry.IEntityRole.prototype = {Undefined: 0,SystemAdministrator: 1,Association: 2,AssociationStaff: 3,Member: 4,MemberStaff: 5}
WebApplication.Data.DTOs.IEntityRegistry.IEntityRole.registerEnum('WebApplication.Data.DTOs.IEntityRegistry.IEntityRole', true);
}
