Exemple #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());
     }
 }
Exemple #2
0
 public FileOperations(LocalRepoFolder lf)
 {
     RepoFolder  = ConfigurationManager.AppSettings["RepoFolder"];
     DirFullPath = RepoFolder + lf.FolderStructure;
     //Directory.CreateDirectory(dirFullPath);
 }