Type.registerNamespace('BMDB.Web.Service');
BMDB.Web.Service.AccountMap=function() {
BMDB.Web.Service.AccountMap.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
BMDB.Web.Service.AccountMap.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return BMDB.Web.Service.AccountMap._staticInstance.get_path();},
Get:function(accountID,succeededCallback, failedCallback, userContext) {
/// <param name="accountID" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'Get',false,{accountID:accountID},succeededCallback,failedCallback,userContext); },
NameExists:function(accountName,succeededCallback, failedCallback, userContext) {
/// <param name="accountName" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'NameExists',false,{accountName:accountName},succeededCallback,failedCallback,userContext); }}
BMDB.Web.Service.AccountMap.registerClass('BMDB.Web.Service.AccountMap',Sys.Net.WebServiceProxy);
BMDB.Web.Service.AccountMap._staticInstance = new BMDB.Web.Service.AccountMap();
BMDB.Web.Service.AccountMap.set_path = function(value) {
BMDB.Web.Service.AccountMap._staticInstance.set_path(value); }
BMDB.Web.Service.AccountMap.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return BMDB.Web.Service.AccountMap._staticInstance.get_path();}
BMDB.Web.Service.AccountMap.set_timeout = function(value) {
BMDB.Web.Service.AccountMap._staticInstance.set_timeout(value); }
BMDB.Web.Service.AccountMap.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return BMDB.Web.Service.AccountMap._staticInstance.get_timeout(); }
BMDB.Web.Service.AccountMap.set_defaultUserContext = function(value) { 
BMDB.Web.Service.AccountMap._staticInstance.set_defaultUserContext(value); }
BMDB.Web.Service.AccountMap.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return BMDB.Web.Service.AccountMap._staticInstance.get_defaultUserContext(); }
BMDB.Web.Service.AccountMap.set_defaultSucceededCallback = function(value) { 
 BMDB.Web.Service.AccountMap._staticInstance.set_defaultSucceededCallback(value); }
BMDB.Web.Service.AccountMap.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return BMDB.Web.Service.AccountMap._staticInstance.get_defaultSucceededCallback(); }
BMDB.Web.Service.AccountMap.set_defaultFailedCallback = function(value) { 
BMDB.Web.Service.AccountMap._staticInstance.set_defaultFailedCallback(value); }
BMDB.Web.Service.AccountMap.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return BMDB.Web.Service.AccountMap._staticInstance.get_defaultFailedCallback(); }
BMDB.Web.Service.AccountMap.set_path("/Resources/WebServices/AccountMap.svc");
BMDB.Web.Service.AccountMap.Get= function(accountID,onSuccess,onFailed,userContext) {
/// <param name="accountID" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
BMDB.Web.Service.AccountMap._staticInstance.Get(accountID,onSuccess,onFailed,userContext); }
BMDB.Web.Service.AccountMap.NameExists= function(accountName,onSuccess,onFailed,userContext) {
/// <param name="accountName" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
BMDB.Web.Service.AccountMap._staticInstance.NameExists(accountName,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('BMLibrary.BLL');
if (typeof(BMLibrary.BLL.Account) === 'undefined') {
BMLibrary.BLL.Account=gtc("Account:http://schemas.datacontract.org/2004/07/BMLibrary.BLL");
BMLibrary.BLL.Account.registerClass('BMLibrary.BLL.Account');
}
if (typeof(BMLibrary.BLL.AccountMembershipOld) === 'undefined') {
BMLibrary.BLL.AccountMembershipOld=gtc("AccountMembershipOld:http://schemas.datacontract.org/2004/07/BMLibrary.BLL");
BMLibrary.BLL.AccountMembershipOld.registerClass('BMLibrary.BLL.AccountMembershipOld');
}
if (typeof(BMLibrary.BLL.FinancialYearOld) === 'undefined') {
BMLibrary.BLL.FinancialYearOld=gtc("FinancialYearOld:http://schemas.datacontract.org/2004/07/BMLibrary.BLL");
BMLibrary.BLL.FinancialYearOld.registerClass('BMLibrary.BLL.FinancialYearOld');
}
if (typeof(BMLibrary.BLL.MembershipCategoryOld) === 'undefined') {
BMLibrary.BLL.MembershipCategoryOld=gtc("MembershipCategoryOld:http://schemas.datacontract.org/2004/07/BMLibrary.BLL");
BMLibrary.BLL.MembershipCategoryOld.registerClass('BMLibrary.BLL.MembershipCategoryOld');
}
if (typeof(BMLibrary.BLL.EntityTag) === 'undefined') {
BMLibrary.BLL.EntityTag=gtc("EntityTag:http://schemas.datacontract.org/2004/07/BMLibrary.BLL");
BMLibrary.BLL.EntityTag.registerClass('BMLibrary.BLL.EntityTag');
}
if (typeof(BMLibrary.BLL.AccountGeo) === 'undefined') {
BMLibrary.BLL.AccountGeo=gtc("AccountGeo:http://schemas.datacontract.org/2004/07/BMLibrary.BLL");
BMLibrary.BLL.AccountGeo.registerClass('BMLibrary.BLL.AccountGeo');
}
if (typeof(BMLibrary.BLL.BizObject) === 'undefined') {
BMLibrary.BLL.BizObject=gtc("BizObject:http://schemas.datacontract.org/2004/07/BMLibrary.BLL");
BMLibrary.BLL.BizObject.registerClass('BMLibrary.BLL.BizObject');
}
if (typeof(BMLibrary.BLL.Address) === 'undefined') {
BMLibrary.BLL.Address=gtc("Address:http://schemas.datacontract.org/2004/07/BMLibrary.BLL");
BMLibrary.BLL.Address.registerClass('BMLibrary.BLL.Address');
}
if (typeof(BMLibrary.BLL.StaticType) === 'undefined') {
BMLibrary.BLL.StaticType=gtc("StaticType:http://schemas.datacontract.org/2004/07/BMLibrary.BLL");
BMLibrary.BLL.StaticType.registerClass('BMLibrary.BLL.StaticType');
}
