//generate new ID
        private int GetNewID()
        {
            NewIdentityProvider provider = new NewIdentityProvider(_realmProvider);

            return(provider.ProvideNewIdentity(new AlarmLanguageDefinition()));
        }
        //method for providing new ID number
        private int GetNewIdentity(IIdentityPrimaryKeyInterface idType)
        {
            NewIdentityProvider provider = new NewIdentityProvider(_realmProvider);

            return(provider.ProvideNewIdentity(idType));
        }
示例#3
0
        private int GetNewIdentity()
        {
            NewIdentityProvider provider = new NewIdentityProvider(_realmProvider);

            return(provider.ProvideNewIdentity(new NLogConfigurationDefinition()));
        }
        //method for providing new ID number
        private int GetNewIdentity()
        {
            NewIdentityProvider provider = new NewIdentityProvider(_realmProvider);

            return(provider.ProvideNewIdentity(new SystemEventDefinition()));
        }
        private int GetNewIdentity()
        {
            NewIdentityProvider provider = new NewIdentityProvider(_realmProvider);

            return(provider.ProvideNewIdentity(new SMSrecipientsGroupDefinition()));
        }
        private int GetNewIdentity(IIdentityPrimaryKeyInterface implementingObject)
        {
            NewIdentityProvider provider = new NewIdentityProvider(_realmProvider);

            return(provider.ProvideNewIdentity(implementingObject));
        }