public ModelInvokeResult <WhiteListPK> Create(WhiteList whiteList)
        {
            ModelInvokeResult <WhiteListPK> result = new ModelInvokeResult <WhiteListPK> {
                Success = true
            };

            try
            {
                List <IBatisNetBatchStatement> statements = new List <IBatisNetBatchStatement>();
                if (whiteList.Id == -1)
                {
                    whiteList.Id = null;
                }
                statements.Add(new IBatisNetBatchStatement {
                    StatementName = whiteList.GetCreateMethodName(), ParameterObject = whiteList.ToStringObjectDictionary(false), Type = SqlExecuteType.INSERT
                });
                /***********************begin 自定义代码*******************/
                /***********************此处添加自定义代码*****************/
                /***********************end 自定义代码*********************/
                BuilderFactory.DefaultBulder().ExecuteNativeSqlNoneQuery(statements);
                result.instance = new WhiteListPK {
                    Id = whiteList.Id
                };
            }
            catch (Exception ex)
            {
                result.Success      = false;
                result.ErrorMessage = ex.Message;
            }
            return(result);
        }