MonoSoftware.MonoX.DAL.EntityClasses.AdEntity.SetupCustomPropertyHashtables C# (CSharp) Méthode

SetupCustomPropertyHashtables() private static méthode

Initializes the hashtables for the entity type and entity field custom properties.
private static SetupCustomPropertyHashtables ( ) : void
Résultat void
        private static void SetupCustomPropertyHashtables()
        {
            _customProperties = new Dictionary<string, string>();
            _fieldsCustomProperties = new Dictionary<string, Dictionary<string, string>>();
            Dictionary<string, string> fieldHashtable;
            fieldHashtable = new Dictionary<string, string>();
            _fieldsCustomProperties.Add("Id", fieldHashtable);
            fieldHashtable = new Dictionary<string, string>();
            _fieldsCustomProperties.Add("CampaignId", fieldHashtable);
            fieldHashtable = new Dictionary<string, string>();
            _fieldsCustomProperties.Add("ImageUrl", fieldHashtable);
            fieldHashtable = new Dictionary<string, string>();
            _fieldsCustomProperties.Add("AdContent", fieldHashtable);
            fieldHashtable = new Dictionary<string, string>();
            _fieldsCustomProperties.Add("NavigateUrl", fieldHashtable);
            fieldHashtable = new Dictionary<string, string>();
            _fieldsCustomProperties.Add("Keyword", fieldHashtable);
            fieldHashtable = new Dictionary<string, string>();
            _fieldsCustomProperties.Add("AlternateText", fieldHashtable);
            fieldHashtable = new Dictionary<string, string>();
            _fieldsCustomProperties.Add("Caption", fieldHashtable);
            fieldHashtable = new Dictionary<string, string>();
            _fieldsCustomProperties.Add("Weight", fieldHashtable);
            fieldHashtable = new Dictionary<string, string>();
            _fieldsCustomProperties.Add("ValidFrom", fieldHashtable);
            fieldHashtable = new Dictionary<string, string>();
            _fieldsCustomProperties.Add("ValidTo", fieldHashtable);
            fieldHashtable = new Dictionary<string, string>();
            _fieldsCustomProperties.Add("DateEntered", fieldHashtable);
            fieldHashtable = new Dictionary<string, string>();
            _fieldsCustomProperties.Add("DateModified", fieldHashtable);
        }