Ejemplo n.º 1
0
 public List <DBObjChanges> getUniqueGITCommittablesByFolder(LocalRepoFolder locfldr)
 {
     using (var db = new DBChangesAuditEntities())
     {
         return(db.DBObjChanges.Where(q => q.BatchID == null).Where(q => q.BatchID == null &&
                                                                    q.DBObjType == locfldr.DBObjType && q.DatabaseName == locfldr.DatabaseName &&
                                                                    q.SchemaName == locfldr.SchemaName)
                .OrderBy(o => o.ObjectName).ThenBy(o => o.ID)
                .ToList());
     }
 }
Ejemplo n.º 2
0
 public FileOperations(LocalRepoFolder lf)
 {
     RepoFolder  = ConfigurationManager.AppSettings["RepoFolder"];
     DirFullPath = RepoFolder + lf.FolderStructure;
     //Directory.CreateDirectory(dirFullPath);
 }