Ejemplo n.º 1
0
 public static WorkspaceFeatureCollection From(IDatabaseWorkspaceFeatureCollection entity)
 => new WorkspaceFeatureCollection(entity);
Ejemplo n.º 2
0
 private WorkspaceFeatureCollection(IDatabaseWorkspaceFeatureCollection entity)
     : this(entity as IWorkspaceFeatureCollection)
 {
     Workspace        = entity.Workspace == null ? null : Models.Workspace.From(entity.Workspace);
     DatabaseFeatures = entity.DatabaseFeatures == null ? null : entity.DatabaseFeatures.Select(Models.WorkspaceFeature.From).ToArray();
 }