internal string GenerateTableRowDataTypeClass(CsvTable table, CsvDatabase db, bool hideRelationsFromDump) { var src = @" public class " + table.GetCodeRowClassName() + @" : " + typeof(CsvRowBase).GetCodeTypeClassName() + @" {" + string.Join("", from c in table.Columns select @" public string " + c.CodeName + @" { get; set; } " ) + string.Join("", from rel in table.Relations select @" /// <summary>" + System.Security.SecurityElement.Escape(rel.DisplayName) + @"</summary> " + (hideRelationsFromDump ? @" [" + typeof(HideFromDumpAttribute).GetCodeTypeClassName() + "]" : "") + @" public IEnumerable<" + rel.TargetTable.GetCodeRowClassName() + @"> " + rel.CodeName + @" { get; set; } " ) + @" } " ; return(src); }