Beispiel #1
0
        public void StoreProcs()
        {
            using (var db = new TrackerDataContext())
            {
                var roles = db.RolesForUser(UserId);
                var users = db.GetUsersWithRoles();

                Assert.AreEqual(1, roles.Count);
                Assert.Greater(users.Count, 0);
            }
        }