public Setting(SettingEntity e)
 {
     Uuid = e.Uuid.ToString();
     EntryKey = e.EntryKey;
     Owner = e.Owner;
     Value = e.Value;
     XmlValue = e.XmlValue;
 }
        /// <summary>
        /// Created: 2009-07-29, John Morgan
        /// Modified:
        /// </summary>
        /// <param name="owner"></param>
        /// <param name="entryKey"></param>
        /// <param name="value"></param>
        /// <param name="xmlValue"></param>
        /// <returns></returns>
        public SettingEntity CreateSetting(string owner, string entryKey, string value, string xmlValue)
        {
            SettingEntity e = new SettingEntity();
            e.Uuid = Guid.NewGuid();
            e.Owner = owner;
            e.EntryKey = entryKey;
            e.Value = value;
            e.XmlValue = xmlValue;

            _ObjectContext.SaveChanges();

            return GetSetting(e.Uuid);
        }