public void Key(string kind, params string[] names) { KeyUtil.RegisterKey(kind, names, null); }
public T Load <T>(params object[] compoundKey) where T : Bean, new() { return(Load <T>(KeyUtil.PackCompoundKey(Bean.GetKind <T>(), compoundKey))); }
// Custom keys public void Key(string kind, string name, bool autoIncrement) { KeyUtil.RegisterKey(kind, new[] { name }, autoIncrement); }
// Shortcuts public Bean Load(string kind, params object[] compoundKey) { return(Load(kind, KeyUtil.PackCompoundKey(kind, compoundKey))); }