Esempio n. 1
0
        protected override Int32 OnDelete()
        {
            Teams?.Delete(true);
            UserTeam.FindAllByTeamID(ID).Delete(true);
            Repositories?.Delete(true);
            Repository.FindAllByOwnerID(ID).Delete();
            AuthorizationLog.FindAllByUserID(ID).Delete();

            return(base.OnDelete());
        }
Esempio n. 2
0
        protected override Int32 OnDelete()
        {
            (Teams as IEntityList)?.Delete(true);
            (Repositories as IEntityList)?.Delete(true);
            (SshKeys as IEntityList)?.Delete(true);
            Repository.FindAllByOwnerID(ID).Delete();
            AuthorizationLog.FindAllByUserID(ID).Delete();

            return(base.OnDelete());
        }