Skip to content

Instantly share code, notes, and snippets.

@SENya1990
Created November 3, 2020 10:01
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 SENya1990/48effc0e9132244ade341028cce63461 to your computer and use it in GitHub Desktop.
Save SENya1990/48effc0e9132244ade341028cce63461 to your computer and use it in GitHub Desktop.
ForeignKey Example
public partial class SOLine : IBqlTable
{
public static class FK
{
public class SOOrder : SOOrder.PK.ForeignKeyOf<SOLine>.By<orderType, orderNbr> { }
}
public abstract class orderType: PX.Data.IBqlField { }
public abstract class orderNbr: PX.Data.IBqlField { }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment