private static string GetFkPropertyName(ForeignKey fk) { string fkPropertyName = "FK"; TableField[] childFields = fk.GetChildFkFields(); foreach (TableField fkField in childFields) fkPropertyName += "_" + fkField.Names.PublicMember; return fkPropertyName; }