Skip to content

Instantly share code, notes, and snippets.

@lekker-solutions
Last active May 19, 2022 20:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lekker-solutions/0379133b6b0432e1717fc5e70a0dc005 to your computer and use it in GitHub Desktop.
Save lekker-solutions/0379133b6b0432e1717fc5e70a0dc005 to your computer and use it in GitHub Desktop.
Example New field declaration
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