Last active
May 19, 2022 20:24
-
-
Save lekker-solutions/0379133b6b0432e1717fc5e70a0dc005 to your computer and use it in GitHub Desktop.
Example New field declaration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class MyTable : PX.Data.IBqlTable | |
{ | |
// public abstract class myField : PX.Data.IBqlField { } — old way, notcompatible with fluent comparisons | |
public abstract class myField : PX.Data.BQL.BqlString.Field<myField> { } | |
// myField still implements IBqlField interface, since BqlField<myField,IBqlString> class does it | |
[PXDBString(15)] | |
[PXUIAttribute(DisplayName="My field")] | |
public virtual string MyField { get; set; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment