public T Create(T model)
        {
            SqlGenerator sqlgen = new SqlGenerator(SqlGenerator.SqlTypes.Insert, modelDataBindings.TableName);

            Type         t       = typeof(T);
            PropertyInfo keyProp = t.GetProperty(modelDataBindings.KeyFieldName, BindingFlags.Public | BindingFlags.Instance);

            // Set a unique key for this model
            string newKey = Adocls.GetUniqueKey();

            keyProp.SetValue(model, newKey);

            sqlgen.InsertFromModel <T>(model);
            sqlgen.DoNotFullyQualifyFields = true;

            ModelBase.InsertModel <T>(model, modelDataBindings.DatabaseName, sqlgen);

            return(model);
        }