Ejemplo n.º 1
0
        private void AttachDbEnums()
        {
            if (!Database.Exists())
            {
                // Skip this when the database doesn't exist.
                return;
            }

            foreach (var priority in Scrum.Model.Priority.All)
            {
                Priority.Attach(priority);
            }
            foreach (var status in Scrum.Model.Status.All)
            {
                Status.Attach(status);
            }
        }