|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using XPeriment.Persistence.PersistentObjects;
namespace XPerimentStudio
{
[MapTo("DETALLECOMPRA")]
public class ClaseDetalleCompra:PersistentObject
{
private int identifier = 0;
[MapTo("IdDetalleCompra")]
[PrimaryKey]
public int Identifier
{
get
{
return identifier;
}
set
{
identifier = value;
}
}
private ClaseProducto producto = new ClaseProducto();
[ForaignKey("IdProducto:IdProducto")]
[MapTo("IdProducto")]
public ClaseProducto Producto
{
get
{
return producto;
}
set
{
producto = value;
}
}
private ClaseCompra compra = new ClaseCompra();
[ForaignKey("IdCompra:IdCompra")]
[MapTo("IdCompra")]
public ClaseCompra Compra
{
get
{
return compra;
}
set
{
compra = value;
}
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.