Example #1
0
 public void Key(string kind, params string[] names)
 {
     KeyUtil.RegisterKey(kind, names, null);
 }
Example #2
0
 public T Load <T>(params object[] compoundKey) where T : Bean, new()
 {
     return(Load <T>(KeyUtil.PackCompoundKey(Bean.GetKind <T>(), compoundKey)));
 }
Example #3
0
        // Custom keys

        public void Key(string kind, string name, bool autoIncrement)
        {
            KeyUtil.RegisterKey(kind, new[] { name }, autoIncrement);
        }
Example #4
0
        // Shortcuts

        public Bean Load(string kind, params object[] compoundKey)
        {
            return(Load(kind, KeyUtil.PackCompoundKey(kind, compoundKey)));
        }