public static Boolean Compare(FileGroup origen, FileGroup destino) { if (destino == null) throw new ArgumentNullException("destino"); if (origen == null) throw new ArgumentNullException("origen"); if (origen.IsReadOnly != destino.IsReadOnly) return false; if (origen.IsDefaultFileGroup != destino.IsDefaultFileGroup) return false; return origen.IsFileStream == destino.IsFileStream; }
public override ISchema Clone() { var file = new FileGroup { IsDefaultFileGroup = IsDefaultFileGroup, IsReadOnly = IsReadOnly, Name = Name, Id = Id }; file.Files = Files.Clone(file); file.IsFileStream = IsFileStream; return file; }