/// <summary>
 /// Initializes a new instance of the <see cref="ContactAttributes"/> class.
 /// </summary>
 /// <param name="container">The container.</param>
 public ContactAttributes(ContactContainer container)
 {
     _container = container;
 }
        /// <summary>
        /// Creates a contact container.
        /// </summary>
        /// <returns></returns>
        public ContactContainer CreateContactContainer()
        {
            System_Social_ContactContainer dbcontainer = new System_Social_ContactContainer();
            dbcontainer.ContainerID = 0;
            dbcontainer.ContainerHash = dbcontainer.GetHashCode().ToString();
            ContactContainer.InsertOnSubmit(dbcontainer);
            CoreIntelligence.RepositoryIntelligence.SubmitChanges();

            Models.ContactContainer container = new ContactContainer(dbcontainer, CoreIntelligence);
            return container;
        }