Skip to content

Instantly share code, notes, and snippets.

@lekker-solutions
Created May 19, 2022 21:03
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/e37513feb79b7b9b5b5f2db1c449373a to your computer and use it in GitHub Desktop.
Save lekker-solutions/e37513feb79b7b9b5b5f2db1c449373a to your computer and use it in GitHub Desktop.
Foreign Key Definition
[PXCacheName("Model Gen Cross Reference")]
public class PAModelGenXRef : IBqlTable
{
public static class FK
{
public class InventoryItemFK : InventoryItem.PK.ForeignKeyOf<PAModelGenXRef>.By<inventoryID> { }
}
#region InventoryID
[PXDBInt(IsKey = true)]
public int? InventoryID { get; set; }
public abstract class inventoryID : PX.Data.BQL.BqlInt.Field<inventoryID> { }
#endregion
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment