public YW_CellAndEFile(string fileName, string filePath, T_CellAndEFile obj, string orderIndex) { this.fileName = fileName; this.filePath = filePath; this.obj = obj; this.orderIndex = orderIndex; }
public System.Data.DataSet GetList(T_CellAndEFile obj) { String stmtId = "T_CellAndEFile.GetList"; System.Data.DataSet result = DAL.MyBatis.QueryForDataSet(stmtId, obj); return(result); }
public void Delete(T_CellAndEFile obj) { if (obj == null) { throw new ArgumentNullException("obj"); } String stmtId = "T_CellAndEFile.Delete"; MyISqlMap.Delete(stmtId, obj); }
public void Insert(T_CellAndEFile obj) { if (obj == null) { throw new ArgumentNullException("obj"); } String stmtId = "T_CellAndEFile.Insert"; MyISqlMap.Insert(stmtId, obj); }
public IList <T_CellAndEFile> FindByGdFileID(String gdfileID, string ProjectNO) { String stmtId = "T_CellAndEFile.FindByGdFileID"; MDL.T_CellAndEFile obj = new T_CellAndEFile(); obj.GdFileID = gdfileID; obj.ProjectNO = ProjectNO; IList <T_CellAndEFile> result = MyISqlMap.QueryForList <T_CellAndEFile>(stmtId, obj); return(result); }
//public int GetCount() //{ // String stmtId = "T_CellAndEFile.GetCount"; // int result = MyISqlMap.QueryForObject<int>(stmtId, null); // return result; //} //public T_CellAndEFile Find(String cellID,string ProjectNO) //{ // String stmtId = "T_CellAndEFile.Find"; // MDL.T_CellAndEFile obj = new T_CellAndEFile(); // obj.CellID = cellID; // obj.ProjectNO = ProjectNO; // T_CellAndEFile result = MyISqlMap.QueryForObject<T_CellAndEFile>(stmtId, obj); // return result; //} //public System.Data.DataSet GetList(MDL.T_CellAndEFile obj) //{ // String stmtId = "T_CellAndEFile.GetList"; // System.Data.DataSet result = DAL.MyBatis.QueryForDataSet(stmtId, obj); // return result; //} //public System.Data.DataSet GetList(String strWhere) //{ // String stmtId = "T_CellAndEFile.GetList"; // if (strWhere == null || strWhere == "" || strWhere == "1=1") // { // strWhere = null; // stmtId = "T_CellAndEFile.GetAll"; // } // System.Data.DataSet result = DAL.MyBatis.QueryForDataSet(stmtId, strWhere); // return result; //} //public bool Exists(String cellID,String ProjectNO) //{ // String stmtId = "T_CellAndEFile.Exists"; // MDL.T_CellAndEFile obj = new T_CellAndEFile(); // obj.ProjectNO = ProjectNO; // obj.CellID = cellID; // bool result = MyISqlMap.QueryForObject<bool>(stmtId, obj); // return result; //} //public IList<T_CellAndEFile> GetAll() //{ // String stmtId = "T_CellAndEFile.GetAll"; // IList<T_CellAndEFile> result = MyISqlMap.QueryForList<T_CellAndEFile>(stmtId, null); // return result; //} public IList <T_CellAndEFile> FindByFileID(String fileID, string ProjectNO, int DoStatus) { String stmtId = "T_CellAndEFile.FindByFileID"; MDL.T_CellAndEFile obj = new T_CellAndEFile(); obj.FileID = fileID; obj.ProjectNO = ProjectNO; obj.DoStatus = DoStatus; IList <T_CellAndEFile> result = MyISqlMap.QueryForList <T_CellAndEFile>(stmtId, obj); return(result); }
public bool Exists(String cellID, String projectNO) { String stmtId = "T_CellAndEFile.Exists"; MDL.T_CellAndEFile obj = new T_CellAndEFile(); obj.CellID = cellID; obj.ProjectNO = projectNO; bool result = MyISqlMap.QueryForObject <bool>(stmtId, obj); return(result); }
public T_CellAndEFile Find(String cellID, String projectNO) { String stmtId = "T_CellAndEFile.Find"; MDL.T_CellAndEFile obj = new T_CellAndEFile(); obj.CellID = cellID; obj.ProjectNO = projectNO; T_CellAndEFile result = MyISqlMap.QueryForObject <T_CellAndEFile>(stmtId, obj); return(result); }
public int GetMaxGdFileOrderIndex(string GdFileID, string ProjectNO) { String stmtId = "T_CellAndEFile.GetMaxGdFileOrderIndex"; MDL.T_CellAndEFile obj = new T_CellAndEFile(); obj.GdFileID = GdFileID; obj.ProjectNO = ProjectNO; object result = MyISqlMap.QueryForObject(stmtId, obj); if (result == null) { result = "0"; } return(int.Parse(result.ToString())); }
public void DeleteByFileID(String FileID, String projectNO) { if (FileID == null || projectNO == null) { throw new ArgumentNullException("obj"); } String stmtId = "T_CellAndEFile.DeleteByFileID"; T_CellAndEFile obj = new T_CellAndEFile(); obj.FileID = FileID; obj.ProjectNO = projectNO; MyISqlMap.Delete(stmtId, obj); }
public void Add(T_CellAndEFile obj) { Insert(obj); }
/// <summary> /// 构建原文XML /// </summary> /// <param name="obj"></param> /// <param name="xDoc"></param> /// <param name="PElement"></param> private void GetEFileXE(T_CellAndEFile obj, XmlDocument xDoc, XmlElement PElement, string filePath, string fileName, string orerIndex, T_Projects project) { //YW_CellAndEFile file = new YW_CellAndEFile(fileName, filePath, obj, orerIndex); //file.setXmlInfo(xDoc, PElement, project); }