/// <summary> /// 安装入口 /// </summary> /// <param name="type">数据类型</param> /// <param name="primaryKeys">数据类型</param> public void Run(Type type, MemberIndex[] primaryKeys) { if (primaryKeys.Length > 1 && !Coder.CheckCodeType(typeof(Generator), type)) { Type = type; Attribute = type.customAttribute <AutoCSer.Data.PrimaryKeyAttribute>() ?? AutoCSer.Data.PrimaryKeyAttribute.Default; PrimaryKeys = primaryKeys; nextCreate(); } }