ServiceLookupEditorAttribute constructor (1 of 2)
namespace: Serenity.ComponentModel assembly: Serenity.Net.Core
If you use this constructor, service will tried to be determined by module and name of the row class, and idField and textField will be determined by rows id and name fields.
public ServiceLookupEditorAttribute(Type itemType)
See Also
ServiceLookupEditorAttribute constructor (2 of 2)
namespace: Serenity.ComponentModel assembly: Serenity.Net.Core
Initializes a new instance of the ServiceLookupEditorAttribute
class.
public ServiceLookupEditorAttribute(string service, string idField, string textField)
parameter | description |
---|---|
service | The service, e.g. Northwind/Customer/List. |
idField | Id field. |
textField | Text field. |