toFormBuildDropDownCodeTable method
Implementation
String toFormBuildDropDownCodeTable(SqfEntityTableBase table) {
// print('toFormWidgetsCode begin 5: tableName:${table.tableName}');
final retVal = StringBuffer();
for (final field in table.fields!) {
if (field is SqfEntityFieldRelationshipBase &&
field.relationType == RelationType.ONE_TO_MANY) {
field.relationshipName = field.relationshipName ?? table.modelName;
retVal.writeln(toFormBuildDropDownCodeField(field));
}
}
return retVal.toString();
}