Skip to content

Instantly share code, notes, and snippets.

@johnsheehan
Created February 16, 2011 22:28
Show Gist options
  • Save johnsheehan/830415 to your computer and use it in GitHub Desktop.
Save johnsheehan/830415 to your computer and use it in GitHub Desktop.
public class EntityBase:DynamicModel {
public EntityBase():base("northwind") {
PrimaryKeyField = "Id";
}
}
public class Product : EntityBase {
}
public class User : EntityBase {
}
public class Order : EntityBase {
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment