MonoSoftware.MonoX.DAL.EntityClasses.PollEntity.SetupCustomPropertyHashtables C# (CSharp) Method

SetupCustomPropertyHashtables() private static method

Initializes the hashtables for the entity type and entity field custom properties.
private static SetupCustomPropertyHashtables ( ) : void
return 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("Title", fieldHashtable);
            fieldHashtable = new Dictionary<string, string>();
            _fieldsCustomProperties.Add("DateModified", fieldHashtable);
            fieldHashtable = new Dictionary<string, string>();
            _fieldsCustomProperties.Add("UserId", fieldHashtable);
            fieldHashtable = new Dictionary<string, string>();
            _fieldsCustomProperties.Add("ApplicationId", fieldHashtable);
        }