Category

[Back to 101 LINQ examples using Batches]

package tests.sql.northwind;
 
import batch.Set;
import batch.sql.Id;
import batch.sql.Inverse;
import batch.sql.Table;
 
@Table(name="Categories")
public abstract class Category {
    @Id
    public int CategoryID;
 
    public String CategoryName;
 
    public String Description;
 
    public byte[] Picture;
 
    @Inverse("Category")
    public Set<Product> Products;
 
    public abstract void delete();
}
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License