public int GetInsert(M_CollectionInfo model) { return(Sql.insertID(TbName, model.GetParameters(), BLLCommon.GetParas(model), BLLCommon.GetFields(model))); }
public bool UpdateByID(M_CollectionInfo model) { return(Sql.UpdateByIDs(TbName, PK, model.C_IID.ToString(), BLLCommon.GetFieldAndPara(model), model.GetParameters())); }