MonoSoftware.MonoX.DAL.EntityClasses.AuditInfoEntity.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("UserId", fieldHashtable);
            fieldHashtable = new Dictionary<string, string>();
            _fieldsCustomProperties.Add("AffectedEntityName", fieldHashtable);
            fieldHashtable = new Dictionary<string, string>();
            _fieldsCustomProperties.Add("ActionDateTime", fieldHashtable);
            fieldHashtable = new Dictionary<string, string>();
            _fieldsCustomProperties.Add("ActionType", fieldHashtable);
            fieldHashtable = new Dictionary<string, string>();
            _fieldsCustomProperties.Add("ActionTypeName", fieldHashtable);
            fieldHashtable = new Dictionary<string, string>();
            _fieldsCustomProperties.Add("ActionPerformedByUser", fieldHashtable);
            fieldHashtable = new Dictionary<string, string>();
            _fieldsCustomProperties.Add("ActionData", fieldHashtable);
            fieldHashtable = new Dictionary<string, string>();
            _fieldsCustomProperties.Add("ActionDataBinary", fieldHashtable);
            fieldHashtable = new Dictionary<string, string>();
            _fieldsCustomProperties.Add("DateCreated", fieldHashtable);
            fieldHashtable = new Dictionary<string, string>();
            _fieldsCustomProperties.Add("DateUpdated", fieldHashtable);
            fieldHashtable = new Dictionary<string, string>();
            _fieldsCustomProperties.Add("ConcurrencyTimeStamp", fieldHashtable);
            fieldHashtable = new Dictionary<string, string>();
            _fieldsCustomProperties.Add("IpAddress", fieldHashtable);
            fieldHashtable = new Dictionary<string, string>();
            _fieldsCustomProperties.Add("UserAgent", fieldHashtable);
            fieldHashtable = new Dictionary<string, string>();
            _fieldsCustomProperties.Add("Referrer", fieldHashtable);
        }