public EntityTypeEntity Create(EntityTypeEntity entity)
		{
			using (IDatabaseProvider provider = ProviderFactory.GetProvider(_connectionStringName))
			{
				return provider.Insert<EntityTypeEntity>(entity);
			}
		}
		public static EntityTypeEntity GetItemForInsert()
		{
			EntityTypeEntity entity = new EntityTypeEntity()
			{
				Description = "EntityType1",
				DeletedDate = DateTime.MinValue
			};

			return entity;
		}
		public EntityTypeEntity Update(EntityTypeEntity entity)
		{
			using (IDatabaseProvider provider = ProviderFactory.GetProvider(_connectionStringName))
			{
				EntityTypeEntity entityToUpdate = Read(entity.Id);
				if (entityToUpdate == null)
					throw new DataAccessException("Item not found"); //  This should not happen seeing that validation should check.

				entityToUpdate = UpdateProperties(entity, entityToUpdate);

				provider.Update<EntityTypeEntity>(entityToUpdate);

				return entityToUpdate;
			}
		}
		public EntityTypeEntity Delete(EntityTypeEntity entity)
		{
			entity.DeletedDate = DateTime.UtcNow;

			return Update(entity);
		}
		private EntityTypeEntity UpdateProperties(EntityTypeEntity entity, EntityTypeEntity entityToUpdate)
		{
			entityToUpdate.Description = entity.Description;
			entityToUpdate.DeletedDate = entity.DeletedDate;

			return entityToUpdate;
		}
		private static void CreateEntityTypes()
		{
			EntityTypeRepository repository = new EntityTypeRepository(ConfigSettings.MySqlDatabaseConnectionName);
			
			EntityTypeEntity entity = new EntityTypeEntity()
			{
				Description = "Contact",
				DeletedDate = DateTime.MinValue
			};

			EntityTypeEntity mEntity = new EntityTypeEntity()
			{
				Description = "Employee",
				DeletedDate = DateTime.MinValue
			};

			entity = repository.Create(entity);
			mEntity = repository.Create(mEntity);

			_entityTypeEntities.Add(entity);
			_entityTypeEntities.Add(mEntity);
		}