MonoSoftware.MonoX.DAL.EntityClasses.NewsCategoryTemplateEntity.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("TemplateName", fieldHashtable);
            fieldHashtable = new Dictionary<string, string>();
            _fieldsCustomProperties.Add("TemplateNameFullContent", fieldHashtable);
            fieldHashtable = new Dictionary<string, string>();
            _fieldsCustomProperties.Add("DateEntered", fieldHashtable);
            fieldHashtable = new Dictionary<string, string>();
            _fieldsCustomProperties.Add("DateModified", fieldHashtable);
        }