oh hell no

This commit is contained in:
fedpo
2024-09-08 18:46:32 +01:00
parent 393caac989
commit e3fd07a90a
105 changed files with 5743 additions and 232 deletions

View File

@@ -24,7 +24,6 @@ namespace Controladora
public ReadOnlyCollection<Categoria> ListarCategorias(Producto producto) public ReadOnlyCollection<Categoria> ListarCategorias(Producto producto)
{ {
Producto productoalistar = new RepositorioProductos(new Context()).Listar().First(x => x.Id == producto.Id); Producto productoalistar = new RepositorioProductos(new Context()).Listar().First(x => x.Id == producto.Id);
if (productoalistar == null) return new List<Categoria>().AsReadOnly();
return productoalistar.categorias.AsReadOnly(); return productoalistar.categorias.AsReadOnly();
} }

View File

@@ -27,10 +27,10 @@ namespace Controladora
var retMarcarOrdenEntregada = ControladoraOrdenDeCompras.Instance.Modificar(orden); var retMarcarOrdenEntregada = ControladoraOrdenDeCompras.Instance.Modificar(orden);
repositorioRemito.Add(t); repositorioRemito.Add(t);
ControladoraLotes.Instance.AltaStock(t); ControladoraLotes.Instance.AltaStock(t);
return (repositorioRemito.Guardar()) ? return (repositorioRemito.Guardar()) ?
$"El remito {t.Id} se cargo correctamente": $"El remito {t.Id} se cargo correctamente":
$"Fallo la carga del remito {t.Id}"; $"Fallo la carga del remito {t.Id}";
@@ -81,11 +81,10 @@ namespace Controladora
return ControladoraOrdenDeCompras.Instance.Listar().First(x => x.Id == ordenDeCompra.Id); return ControladoraOrdenDeCompras.Instance.Listar().First(x => x.Id == ordenDeCompra.Id);
} }
public ReadOnlyCollection<Lote> ListarLotesPorRemito(Remito rem) public Remito MostrarRemitoPorId(Remito rem)
{ {
var remalistar = repositorioRemito.Listar().First(x => x.Id == rem.Id); return repositorioRemito.Listar().First(x => x.Id == rem.Id);
if (remalistar == null) return new ReadOnlyCollection<Lote>(new List<Lote>());
return remalistar.Lotes;
} }
} }

View File

@@ -255,6 +255,10 @@
"target": "Package", "target": "Package",
"version": "[8.0.8, )" "version": "[8.0.8, )"
}, },
"Microsoft.EntityFrameworkCore.Sqlite": {
"target": "Package",
"version": "[8.0.8, )"
},
"Microsoft.EntityFrameworkCore.Tools": { "Microsoft.EntityFrameworkCore.Tools": {
"include": "Runtime, Build, Native, ContentFiles, Analyzers, BuildTransitive", "include": "Runtime, Build, Native, ContentFiles, Analyzers, BuildTransitive",
"suppressParent": "All", "suppressParent": "All",

View File

@@ -1,6 +1,8 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?> <?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' "> <ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<Import Project="$(NuGetPackageRoot)system.text.json\8.0.4\buildTransitive\net6.0\System.Text.Json.targets" Condition="Exists('$(NuGetPackageRoot)system.text.json\8.0.4\buildTransitive\net6.0\System.Text.Json.targets')" />
<Import Project="$(NuGetPackageRoot)sqlitepclraw.lib.e_sqlite3\2.1.6\buildTransitive\net8.0\SQLitePCLRaw.lib.e_sqlite3.targets" Condition="Exists('$(NuGetPackageRoot)sqlitepclraw.lib.e_sqlite3\2.1.6\buildTransitive\net8.0\SQLitePCLRaw.lib.e_sqlite3.targets')" />
<Import Project="$(NuGetPackageRoot)microsoft.extensions.options\8.0.0\buildTransitive\net6.0\Microsoft.Extensions.Options.targets" Condition="Exists('$(NuGetPackageRoot)microsoft.extensions.options\8.0.0\buildTransitive\net6.0\Microsoft.Extensions.Options.targets')" /> <Import Project="$(NuGetPackageRoot)microsoft.extensions.options\8.0.0\buildTransitive\net6.0\Microsoft.Extensions.Options.targets" Condition="Exists('$(NuGetPackageRoot)microsoft.extensions.options\8.0.0\buildTransitive\net6.0\Microsoft.Extensions.Options.targets')" />
<Import Project="$(NuGetPackageRoot)microsoft.extensions.logging.abstractions\8.0.0\buildTransitive\net6.0\Microsoft.Extensions.Logging.Abstractions.targets" Condition="Exists('$(NuGetPackageRoot)microsoft.extensions.logging.abstractions\8.0.0\buildTransitive\net6.0\Microsoft.Extensions.Logging.Abstractions.targets')" /> <Import Project="$(NuGetPackageRoot)microsoft.extensions.logging.abstractions\8.0.0\buildTransitive\net6.0\Microsoft.Extensions.Logging.Abstractions.targets" Condition="Exists('$(NuGetPackageRoot)microsoft.extensions.logging.abstractions\8.0.0\buildTransitive\net6.0\Microsoft.Extensions.Logging.Abstractions.targets')" />
</ImportGroup> </ImportGroup>

View File

@@ -125,6 +125,22 @@
} }
} }
}, },
"Microsoft.Data.Sqlite.Core/8.0.8": {
"type": "package",
"dependencies": {
"SQLitePCLRaw.core": "2.1.6"
},
"compile": {
"lib/net8.0/Microsoft.Data.Sqlite.dll": {
"related": ".xml"
}
},
"runtime": {
"lib/net8.0/Microsoft.Data.Sqlite.dll": {
"related": ".xml"
}
}
},
"Microsoft.EntityFrameworkCore/8.0.8": { "Microsoft.EntityFrameworkCore/8.0.8": {
"type": "package", "type": "package",
"dependencies": { "dependencies": {
@@ -186,6 +202,37 @@
} }
} }
}, },
"Microsoft.EntityFrameworkCore.Sqlite/8.0.8": {
"type": "package",
"dependencies": {
"Microsoft.EntityFrameworkCore.Sqlite.Core": "8.0.8",
"SQLitePCLRaw.bundle_e_sqlite3": "2.1.6"
},
"compile": {
"lib/net8.0/_._": {}
},
"runtime": {
"lib/net8.0/_._": {}
}
},
"Microsoft.EntityFrameworkCore.Sqlite.Core/8.0.8": {
"type": "package",
"dependencies": {
"Microsoft.Data.Sqlite.Core": "8.0.8",
"Microsoft.EntityFrameworkCore.Relational": "8.0.8",
"Microsoft.Extensions.DependencyModel": "8.0.1"
},
"compile": {
"lib/net8.0/Microsoft.EntityFrameworkCore.Sqlite.dll": {
"related": ".xml"
}
},
"runtime": {
"lib/net8.0/Microsoft.EntityFrameworkCore.Sqlite.dll": {
"related": ".xml"
}
}
},
"Microsoft.EntityFrameworkCore.SqlServer/8.0.8": { "Microsoft.EntityFrameworkCore.SqlServer/8.0.8": {
"type": "package", "type": "package",
"dependencies": { "dependencies": {
@@ -299,6 +346,26 @@
"buildTransitive/net6.0/_._": {} "buildTransitive/net6.0/_._": {}
} }
}, },
"Microsoft.Extensions.DependencyModel/8.0.1": {
"type": "package",
"dependencies": {
"System.Text.Encodings.Web": "8.0.0",
"System.Text.Json": "8.0.4"
},
"compile": {
"lib/net8.0/Microsoft.Extensions.DependencyModel.dll": {
"related": ".xml"
}
},
"runtime": {
"lib/net8.0/Microsoft.Extensions.DependencyModel.dll": {
"related": ".xml"
}
},
"build": {
"buildTransitive/net6.0/_._": {}
}
},
"Microsoft.Extensions.Logging/8.0.0": { "Microsoft.Extensions.Logging/8.0.0": {
"type": "package", "type": "package",
"dependencies": { "dependencies": {
@@ -562,6 +629,137 @@
} }
} }
}, },
"SQLitePCLRaw.bundle_e_sqlite3/2.1.6": {
"type": "package",
"dependencies": {
"SQLitePCLRaw.lib.e_sqlite3": "2.1.6",
"SQLitePCLRaw.provider.e_sqlite3": "2.1.6"
},
"compile": {
"lib/netstandard2.0/SQLitePCLRaw.batteries_v2.dll": {}
},
"runtime": {
"lib/netstandard2.0/SQLitePCLRaw.batteries_v2.dll": {}
}
},
"SQLitePCLRaw.core/2.1.6": {
"type": "package",
"dependencies": {
"System.Memory": "4.5.3"
},
"compile": {
"lib/netstandard2.0/SQLitePCLRaw.core.dll": {}
},
"runtime": {
"lib/netstandard2.0/SQLitePCLRaw.core.dll": {}
}
},
"SQLitePCLRaw.lib.e_sqlite3/2.1.6": {
"type": "package",
"compile": {
"lib/netstandard2.0/_._": {}
},
"runtime": {
"lib/netstandard2.0/_._": {}
},
"build": {
"buildTransitive/net8.0/SQLitePCLRaw.lib.e_sqlite3.targets": {}
},
"runtimeTargets": {
"runtimes/browser-wasm/nativeassets/net8.0/e_sqlite3.a": {
"assetType": "native",
"rid": "browser-wasm"
},
"runtimes/linux-arm/native/libe_sqlite3.so": {
"assetType": "native",
"rid": "linux-arm"
},
"runtimes/linux-arm64/native/libe_sqlite3.so": {
"assetType": "native",
"rid": "linux-arm64"
},
"runtimes/linux-armel/native/libe_sqlite3.so": {
"assetType": "native",
"rid": "linux-armel"
},
"runtimes/linux-mips64/native/libe_sqlite3.so": {
"assetType": "native",
"rid": "linux-mips64"
},
"runtimes/linux-musl-arm/native/libe_sqlite3.so": {
"assetType": "native",
"rid": "linux-musl-arm"
},
"runtimes/linux-musl-arm64/native/libe_sqlite3.so": {
"assetType": "native",
"rid": "linux-musl-arm64"
},
"runtimes/linux-musl-x64/native/libe_sqlite3.so": {
"assetType": "native",
"rid": "linux-musl-x64"
},
"runtimes/linux-ppc64le/native/libe_sqlite3.so": {
"assetType": "native",
"rid": "linux-ppc64le"
},
"runtimes/linux-s390x/native/libe_sqlite3.so": {
"assetType": "native",
"rid": "linux-s390x"
},
"runtimes/linux-x64/native/libe_sqlite3.so": {
"assetType": "native",
"rid": "linux-x64"
},
"runtimes/linux-x86/native/libe_sqlite3.so": {
"assetType": "native",
"rid": "linux-x86"
},
"runtimes/maccatalyst-arm64/native/libe_sqlite3.dylib": {
"assetType": "native",
"rid": "maccatalyst-arm64"
},
"runtimes/maccatalyst-x64/native/libe_sqlite3.dylib": {
"assetType": "native",
"rid": "maccatalyst-x64"
},
"runtimes/osx-arm64/native/libe_sqlite3.dylib": {
"assetType": "native",
"rid": "osx-arm64"
},
"runtimes/osx-x64/native/libe_sqlite3.dylib": {
"assetType": "native",
"rid": "osx-x64"
},
"runtimes/win-arm/native/e_sqlite3.dll": {
"assetType": "native",
"rid": "win-arm"
},
"runtimes/win-arm64/native/e_sqlite3.dll": {
"assetType": "native",
"rid": "win-arm64"
},
"runtimes/win-x64/native/e_sqlite3.dll": {
"assetType": "native",
"rid": "win-x64"
},
"runtimes/win-x86/native/e_sqlite3.dll": {
"assetType": "native",
"rid": "win-x86"
}
}
},
"SQLitePCLRaw.provider.e_sqlite3/2.1.6": {
"type": "package",
"dependencies": {
"SQLitePCLRaw.core": "2.1.6"
},
"compile": {
"lib/net6.0/SQLitePCLRaw.provider.e_sqlite3.dll": {}
},
"runtime": {
"lib/net6.0/SQLitePCLRaw.provider.e_sqlite3.dll": {}
}
},
"System.Configuration.ConfigurationManager/6.0.1": { "System.Configuration.ConfigurationManager/6.0.1": {
"type": "package", "type": "package",
"dependencies": { "dependencies": {
@@ -918,42 +1116,45 @@
} }
} }
}, },
"System.Text.Encodings.Web/6.0.0": { "System.Text.Encodings.Web/8.0.0": {
"type": "package", "type": "package",
"dependencies": {
"System.Runtime.CompilerServices.Unsafe": "6.0.0"
},
"compile": { "compile": {
"lib/net6.0/System.Text.Encodings.Web.dll": { "lib/net8.0/System.Text.Encodings.Web.dll": {
"related": ".xml" "related": ".xml"
} }
}, },
"runtime": { "runtime": {
"lib/net6.0/System.Text.Encodings.Web.dll": { "lib/net8.0/System.Text.Encodings.Web.dll": {
"related": ".xml" "related": ".xml"
} }
}, },
"build": { "build": {
"buildTransitive/netcoreapp3.1/_._": {} "buildTransitive/net6.0/_._": {}
}, },
"runtimeTargets": { "runtimeTargets": {
"runtimes/browser/lib/net6.0/System.Text.Encodings.Web.dll": { "runtimes/browser/lib/net8.0/System.Text.Encodings.Web.dll": {
"assetType": "runtime", "assetType": "runtime",
"rid": "browser" "rid": "browser"
} }
} }
}, },
"System.Text.Json/4.7.2": { "System.Text.Json/8.0.4": {
"type": "package", "type": "package",
"dependencies": {
"System.Text.Encodings.Web": "8.0.0"
},
"compile": { "compile": {
"lib/netcoreapp3.0/System.Text.Json.dll": { "lib/net8.0/System.Text.Json.dll": {
"related": ".xml" "related": ".xml"
} }
}, },
"runtime": { "runtime": {
"lib/netcoreapp3.0/System.Text.Json.dll": { "lib/net8.0/System.Text.Json.dll": {
"related": ".xml" "related": ".xml"
} }
},
"build": {
"buildTransitive/net6.0/System.Text.Json.targets": {}
} }
}, },
"System.Threading.Tasks.Extensions/4.5.4": { "System.Threading.Tasks.Extensions/4.5.4": {
@@ -1016,7 +1217,8 @@
"dependencies": { "dependencies": {
"Entidades": "1.0.0", "Entidades": "1.0.0",
"Microsoft.EntityFrameworkCore": "8.0.8", "Microsoft.EntityFrameworkCore": "8.0.8",
"Microsoft.EntityFrameworkCore.SqlServer": "8.0.8" "Microsoft.EntityFrameworkCore.SqlServer": "8.0.8",
"Microsoft.EntityFrameworkCore.Sqlite": "8.0.8"
}, },
"compile": { "compile": {
"bin/placeholder/Modelo.dll": {} "bin/placeholder/Modelo.dll": {}
@@ -1240,6 +1442,25 @@
"runtimes/win-x86/native/Microsoft.Data.SqlClient.SNI.dll" "runtimes/win-x86/native/Microsoft.Data.SqlClient.SNI.dll"
] ]
}, },
"Microsoft.Data.Sqlite.Core/8.0.8": {
"sha512": "qHInO2EvOcPhjgboP0TGnXM7rASdvWXrw6jAH8Yuz5YP82VTje7d/NKiX1i+dVbE3+G3JuW1kqNVB8yLvsqgYA==",
"type": "package",
"path": "microsoft.data.sqlite.core/8.0.8",
"files": [
".nupkg.metadata",
".signature.p7s",
"Icon.png",
"PACKAGE.md",
"lib/net6.0/Microsoft.Data.Sqlite.dll",
"lib/net6.0/Microsoft.Data.Sqlite.xml",
"lib/net8.0/Microsoft.Data.Sqlite.dll",
"lib/net8.0/Microsoft.Data.Sqlite.xml",
"lib/netstandard2.0/Microsoft.Data.Sqlite.dll",
"lib/netstandard2.0/Microsoft.Data.Sqlite.xml",
"microsoft.data.sqlite.core.8.0.8.nupkg.sha512",
"microsoft.data.sqlite.core.nuspec"
]
},
"Microsoft.EntityFrameworkCore/8.0.8": { "Microsoft.EntityFrameworkCore/8.0.8": {
"sha512": "iK+jrJzkfbIxutB7or808BPmJtjUEi5O+eSM7cLDwsyde6+3iOujCSfWnrHrLxY3u+EQrJD+aD8DJ6ogPA2Rtw==", "sha512": "iK+jrJzkfbIxutB7or808BPmJtjUEi5O+eSM7cLDwsyde6+3iOujCSfWnrHrLxY3u+EQrJD+aD8DJ6ogPA2Rtw==",
"type": "package", "type": "package",
@@ -1301,6 +1522,35 @@
"microsoft.entityframeworkcore.relational.nuspec" "microsoft.entityframeworkcore.relational.nuspec"
] ]
}, },
"Microsoft.EntityFrameworkCore.Sqlite/8.0.8": {
"sha512": "IDB7Xs16hN/3VkWFCCa4r3fqoJxMVezwq418gr8dBkRBO0pxH+BX/Kjk/U3PYXDvzVLkXqUgJsHv1XoFrJbZPQ==",
"type": "package",
"path": "microsoft.entityframeworkcore.sqlite/8.0.8",
"files": [
".nupkg.metadata",
".signature.p7s",
"Icon.png",
"PACKAGE.md",
"lib/net8.0/_._",
"microsoft.entityframeworkcore.sqlite.8.0.8.nupkg.sha512",
"microsoft.entityframeworkcore.sqlite.nuspec"
]
},
"Microsoft.EntityFrameworkCore.Sqlite.Core/8.0.8": {
"sha512": "w5k/ENj3+BPbmggqh83RRuPhhKcJmW7CmdJuGwdX1eFrmptJwnzKiHfQCPkJAu9df16PSs5YFeWrDgepfqnltA==",
"type": "package",
"path": "microsoft.entityframeworkcore.sqlite.core/8.0.8",
"files": [
".nupkg.metadata",
".signature.p7s",
"Icon.png",
"PACKAGE.md",
"lib/net8.0/Microsoft.EntityFrameworkCore.Sqlite.dll",
"lib/net8.0/Microsoft.EntityFrameworkCore.Sqlite.xml",
"microsoft.entityframeworkcore.sqlite.core.8.0.8.nupkg.sha512",
"microsoft.entityframeworkcore.sqlite.core.nuspec"
]
},
"Microsoft.EntityFrameworkCore.SqlServer/8.0.8": { "Microsoft.EntityFrameworkCore.SqlServer/8.0.8": {
"sha512": "A2F52W+hnGqvprx37HcAnYnJv4QoFFdc9cxd/QGNSd1vCu1I0eAEKRd0r9KS3E5I5RRj/m9XJfYCyTdy1cdn5Q==", "sha512": "A2F52W+hnGqvprx37HcAnYnJv4QoFFdc9cxd/QGNSd1vCu1I0eAEKRd0r9KS3E5I5RRj/m9XJfYCyTdy1cdn5Q==",
"type": "package", "type": "package",
@@ -1470,6 +1720,36 @@
"useSharedDesignerContext.txt" "useSharedDesignerContext.txt"
] ]
}, },
"Microsoft.Extensions.DependencyModel/8.0.1": {
"sha512": "5Ou6varcxLBzQ+Agfm0k0pnH7vrEITYlXMDuE6s7ZHlZHz6/G8XJ3iISZDr5rfwfge6RnXJ1+Wc479mMn52vjA==",
"type": "package",
"path": "microsoft.extensions.dependencymodel/8.0.1",
"files": [
".nupkg.metadata",
".signature.p7s",
"Icon.png",
"LICENSE.TXT",
"PACKAGE.md",
"THIRD-PARTY-NOTICES.TXT",
"buildTransitive/net461/Microsoft.Extensions.DependencyModel.targets",
"buildTransitive/net462/_._",
"buildTransitive/net6.0/_._",
"buildTransitive/netcoreapp2.0/Microsoft.Extensions.DependencyModel.targets",
"lib/net462/Microsoft.Extensions.DependencyModel.dll",
"lib/net462/Microsoft.Extensions.DependencyModel.xml",
"lib/net6.0/Microsoft.Extensions.DependencyModel.dll",
"lib/net6.0/Microsoft.Extensions.DependencyModel.xml",
"lib/net7.0/Microsoft.Extensions.DependencyModel.dll",
"lib/net7.0/Microsoft.Extensions.DependencyModel.xml",
"lib/net8.0/Microsoft.Extensions.DependencyModel.dll",
"lib/net8.0/Microsoft.Extensions.DependencyModel.xml",
"lib/netstandard2.0/Microsoft.Extensions.DependencyModel.dll",
"lib/netstandard2.0/Microsoft.Extensions.DependencyModel.xml",
"microsoft.extensions.dependencymodel.8.0.1.nupkg.sha512",
"microsoft.extensions.dependencymodel.nuspec",
"useSharedDesignerContext.txt"
]
},
"Microsoft.Extensions.Logging/8.0.0": { "Microsoft.Extensions.Logging/8.0.0": {
"sha512": "tvRkov9tAJ3xP51LCv3FJ2zINmv1P8Hi8lhhtcKGqM+ImiTCC84uOPEI4z8Cdq2C3o9e+Aa0Gw0rmrsJD77W+w==", "sha512": "tvRkov9tAJ3xP51LCv3FJ2zINmv1P8Hi8lhhtcKGqM+ImiTCC84uOPEI4z8Cdq2C3o9e+Aa0Gw0rmrsJD77W+w==",
"type": "package", "type": "package",
@@ -1916,6 +2196,95 @@
"useSharedDesignerContext.txt" "useSharedDesignerContext.txt"
] ]
}, },
"SQLitePCLRaw.bundle_e_sqlite3/2.1.6": {
"sha512": "BmAf6XWt4TqtowmiWe4/5rRot6GerAeklmOPfviOvwLoF5WwgxcJHAxZtySuyW9r9w+HLILnm8VfJFLCUJYW8A==",
"type": "package",
"path": "sqlitepclraw.bundle_e_sqlite3/2.1.6",
"files": [
".nupkg.metadata",
".signature.p7s",
"lib/monoandroid90/SQLitePCLRaw.batteries_v2.dll",
"lib/net461/SQLitePCLRaw.batteries_v2.dll",
"lib/net6.0-android31.0/SQLitePCLRaw.batteries_v2.dll",
"lib/net6.0-android31.0/SQLitePCLRaw.batteries_v2.xml",
"lib/net6.0-ios14.0/SQLitePCLRaw.batteries_v2.dll",
"lib/net6.0-ios14.2/SQLitePCLRaw.batteries_v2.dll",
"lib/net6.0-tvos10.0/SQLitePCLRaw.batteries_v2.dll",
"lib/netstandard2.0/SQLitePCLRaw.batteries_v2.dll",
"lib/xamarinios10/SQLitePCLRaw.batteries_v2.dll",
"sqlitepclraw.bundle_e_sqlite3.2.1.6.nupkg.sha512",
"sqlitepclraw.bundle_e_sqlite3.nuspec"
]
},
"SQLitePCLRaw.core/2.1.6": {
"sha512": "wO6v9GeMx9CUngAet8hbO7xdm+M42p1XeJq47ogyRoYSvNSp0NGLI+MgC0bhrMk9C17MTVFlLiN6ylyExLCc5w==",
"type": "package",
"path": "sqlitepclraw.core/2.1.6",
"files": [
".nupkg.metadata",
".signature.p7s",
"lib/netstandard2.0/SQLitePCLRaw.core.dll",
"sqlitepclraw.core.2.1.6.nupkg.sha512",
"sqlitepclraw.core.nuspec"
]
},
"SQLitePCLRaw.lib.e_sqlite3/2.1.6": {
"sha512": "2ObJJLkIUIxRpOUlZNGuD4rICpBnrBR5anjyfUFQep4hMOIeqW+XGQYzrNmHSVz5xSWZ3klSbh7sFR6UyDj68Q==",
"type": "package",
"path": "sqlitepclraw.lib.e_sqlite3/2.1.6",
"files": [
".nupkg.metadata",
".signature.p7s",
"buildTransitive/net461/SQLitePCLRaw.lib.e_sqlite3.targets",
"buildTransitive/net6.0/SQLitePCLRaw.lib.e_sqlite3.targets",
"buildTransitive/net7.0/SQLitePCLRaw.lib.e_sqlite3.targets",
"buildTransitive/net8.0/SQLitePCLRaw.lib.e_sqlite3.targets",
"lib/net461/_._",
"lib/netstandard2.0/_._",
"runtimes/browser-wasm/nativeassets/net6.0/e_sqlite3.a",
"runtimes/browser-wasm/nativeassets/net7.0/e_sqlite3.a",
"runtimes/browser-wasm/nativeassets/net8.0/e_sqlite3.a",
"runtimes/linux-arm/native/libe_sqlite3.so",
"runtimes/linux-arm64/native/libe_sqlite3.so",
"runtimes/linux-armel/native/libe_sqlite3.so",
"runtimes/linux-mips64/native/libe_sqlite3.so",
"runtimes/linux-musl-arm/native/libe_sqlite3.so",
"runtimes/linux-musl-arm64/native/libe_sqlite3.so",
"runtimes/linux-musl-x64/native/libe_sqlite3.so",
"runtimes/linux-ppc64le/native/libe_sqlite3.so",
"runtimes/linux-s390x/native/libe_sqlite3.so",
"runtimes/linux-x64/native/libe_sqlite3.so",
"runtimes/linux-x86/native/libe_sqlite3.so",
"runtimes/maccatalyst-arm64/native/libe_sqlite3.dylib",
"runtimes/maccatalyst-x64/native/libe_sqlite3.dylib",
"runtimes/osx-arm64/native/libe_sqlite3.dylib",
"runtimes/osx-x64/native/libe_sqlite3.dylib",
"runtimes/win-arm/native/e_sqlite3.dll",
"runtimes/win-arm64/native/e_sqlite3.dll",
"runtimes/win-x64/native/e_sqlite3.dll",
"runtimes/win-x86/native/e_sqlite3.dll",
"runtimes/win10-arm/nativeassets/uap10.0/e_sqlite3.dll",
"runtimes/win10-arm64/nativeassets/uap10.0/e_sqlite3.dll",
"runtimes/win10-x64/nativeassets/uap10.0/e_sqlite3.dll",
"runtimes/win10-x86/nativeassets/uap10.0/e_sqlite3.dll",
"sqlitepclraw.lib.e_sqlite3.2.1.6.nupkg.sha512",
"sqlitepclraw.lib.e_sqlite3.nuspec"
]
},
"SQLitePCLRaw.provider.e_sqlite3/2.1.6": {
"sha512": "PQ2Oq3yepLY4P7ll145P3xtx2bX8xF4PzaKPRpw9jZlKvfe4LE/saAV82inND9usn1XRpmxXk7Lal3MTI+6CNg==",
"type": "package",
"path": "sqlitepclraw.provider.e_sqlite3/2.1.6",
"files": [
".nupkg.metadata",
".signature.p7s",
"lib/net6.0-windows7.0/SQLitePCLRaw.provider.e_sqlite3.dll",
"lib/net6.0/SQLitePCLRaw.provider.e_sqlite3.dll",
"lib/netstandard2.0/SQLitePCLRaw.provider.e_sqlite3.dll",
"sqlitepclraw.provider.e_sqlite3.2.1.6.nupkg.sha512",
"sqlitepclraw.provider.e_sqlite3.nuspec"
]
},
"System.Configuration.ConfigurationManager/6.0.1": { "System.Configuration.ConfigurationManager/6.0.1": {
"sha512": "jXw9MlUu/kRfEU0WyTptAVueupqIeE3/rl0EZDMlf8pcvJnitQ8HeVEp69rZdaStXwTV72boi/Bhw8lOeO+U2w==", "sha512": "jXw9MlUu/kRfEU0WyTptAVueupqIeE3/rl0EZDMlf8pcvJnitQ8HeVEp69rZdaStXwTV72boi/Bhw8lOeO+U2w==",
"type": "package", "type": "package",
@@ -2670,53 +3039,112 @@
"useSharedDesignerContext.txt" "useSharedDesignerContext.txt"
] ]
}, },
"System.Text.Encodings.Web/6.0.0": { "System.Text.Encodings.Web/8.0.0": {
"sha512": "Vg8eB5Tawm1IFqj4TVK1czJX89rhFxJo9ELqc/Eiq0eXy13RK00eubyU6TJE6y+GQXjyV5gSfiewDUZjQgSE0w==", "sha512": "yev/k9GHAEGx2Rg3/tU6MQh4HGBXJs70y7j1LaM1i/ER9po+6nnQ6RRqTJn1E7Xu0fbIFK80Nh5EoODxrbxwBQ==",
"type": "package", "type": "package",
"path": "system.text.encodings.web/6.0.0", "path": "system.text.encodings.web/8.0.0",
"files": [ "files": [
".nupkg.metadata", ".nupkg.metadata",
".signature.p7s", ".signature.p7s",
"Icon.png", "Icon.png",
"LICENSE.TXT", "LICENSE.TXT",
"THIRD-PARTY-NOTICES.TXT", "THIRD-PARTY-NOTICES.TXT",
"buildTransitive/net461/System.Text.Encodings.Web.targets",
"buildTransitive/net462/_._",
"buildTransitive/net6.0/_._",
"buildTransitive/netcoreapp2.0/System.Text.Encodings.Web.targets", "buildTransitive/netcoreapp2.0/System.Text.Encodings.Web.targets",
"buildTransitive/netcoreapp3.1/_._", "lib/net462/System.Text.Encodings.Web.dll",
"lib/net461/System.Text.Encodings.Web.dll", "lib/net462/System.Text.Encodings.Web.xml",
"lib/net461/System.Text.Encodings.Web.xml",
"lib/net6.0/System.Text.Encodings.Web.dll", "lib/net6.0/System.Text.Encodings.Web.dll",
"lib/net6.0/System.Text.Encodings.Web.xml", "lib/net6.0/System.Text.Encodings.Web.xml",
"lib/netcoreapp3.1/System.Text.Encodings.Web.dll", "lib/net7.0/System.Text.Encodings.Web.dll",
"lib/netcoreapp3.1/System.Text.Encodings.Web.xml", "lib/net7.0/System.Text.Encodings.Web.xml",
"lib/net8.0/System.Text.Encodings.Web.dll",
"lib/net8.0/System.Text.Encodings.Web.xml",
"lib/netstandard2.0/System.Text.Encodings.Web.dll", "lib/netstandard2.0/System.Text.Encodings.Web.dll",
"lib/netstandard2.0/System.Text.Encodings.Web.xml", "lib/netstandard2.0/System.Text.Encodings.Web.xml",
"runtimes/browser/lib/net6.0/System.Text.Encodings.Web.dll", "runtimes/browser/lib/net6.0/System.Text.Encodings.Web.dll",
"runtimes/browser/lib/net6.0/System.Text.Encodings.Web.xml", "runtimes/browser/lib/net6.0/System.Text.Encodings.Web.xml",
"system.text.encodings.web.6.0.0.nupkg.sha512", "runtimes/browser/lib/net7.0/System.Text.Encodings.Web.dll",
"runtimes/browser/lib/net7.0/System.Text.Encodings.Web.xml",
"runtimes/browser/lib/net8.0/System.Text.Encodings.Web.dll",
"runtimes/browser/lib/net8.0/System.Text.Encodings.Web.xml",
"system.text.encodings.web.8.0.0.nupkg.sha512",
"system.text.encodings.web.nuspec", "system.text.encodings.web.nuspec",
"useSharedDesignerContext.txt" "useSharedDesignerContext.txt"
] ]
}, },
"System.Text.Json/4.7.2": { "System.Text.Json/8.0.4": {
"sha512": "TcMd95wcrubm9nHvJEQs70rC0H/8omiSGGpU4FQ/ZA1URIqD4pjmFJh2Mfv1yH1eHgJDWTi2hMDXwTET+zOOyg==", "sha512": "bAkhgDJ88XTsqczoxEMliSrpijKZHhbJQldhAmObj/RbrN3sU5dcokuXmWJWsdQAhiMJ9bTayWsL1C9fbbCRhw==",
"type": "package", "type": "package",
"path": "system.text.json/4.7.2", "path": "system.text.json/8.0.4",
"files": [ "files": [
".nupkg.metadata", ".nupkg.metadata",
".signature.p7s", ".signature.p7s",
"Icon.png", "Icon.png",
"LICENSE.TXT", "LICENSE.TXT",
"PACKAGE.md",
"THIRD-PARTY-NOTICES.TXT", "THIRD-PARTY-NOTICES.TXT",
"lib/net461/System.Text.Json.dll", "analyzers/dotnet/roslyn3.11/cs/System.Text.Json.SourceGeneration.dll",
"lib/net461/System.Text.Json.xml", "analyzers/dotnet/roslyn3.11/cs/cs/System.Text.Json.SourceGeneration.resources.dll",
"lib/netcoreapp3.0/System.Text.Json.dll", "analyzers/dotnet/roslyn3.11/cs/de/System.Text.Json.SourceGeneration.resources.dll",
"lib/netcoreapp3.0/System.Text.Json.xml", "analyzers/dotnet/roslyn3.11/cs/es/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn3.11/cs/fr/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn3.11/cs/it/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn3.11/cs/ja/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn3.11/cs/ko/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn3.11/cs/pl/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn3.11/cs/pt-BR/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn3.11/cs/ru/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn3.11/cs/tr/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn3.11/cs/zh-Hans/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn3.11/cs/zh-Hant/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.0/cs/System.Text.Json.SourceGeneration.dll",
"analyzers/dotnet/roslyn4.0/cs/cs/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.0/cs/de/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.0/cs/es/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.0/cs/fr/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.0/cs/it/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.0/cs/ja/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.0/cs/ko/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.0/cs/pl/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.0/cs/pt-BR/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.0/cs/ru/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.0/cs/tr/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.0/cs/zh-Hans/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.0/cs/zh-Hant/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.4/cs/System.Text.Json.SourceGeneration.dll",
"analyzers/dotnet/roslyn4.4/cs/cs/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.4/cs/de/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.4/cs/es/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.4/cs/fr/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.4/cs/it/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.4/cs/ja/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.4/cs/ko/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.4/cs/pl/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.4/cs/pt-BR/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.4/cs/ru/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.4/cs/tr/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.4/cs/zh-Hans/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.4/cs/zh-Hant/System.Text.Json.SourceGeneration.resources.dll",
"buildTransitive/net461/System.Text.Json.targets",
"buildTransitive/net462/System.Text.Json.targets",
"buildTransitive/net6.0/System.Text.Json.targets",
"buildTransitive/netcoreapp2.0/System.Text.Json.targets",
"buildTransitive/netstandard2.0/System.Text.Json.targets",
"lib/net462/System.Text.Json.dll",
"lib/net462/System.Text.Json.xml",
"lib/net6.0/System.Text.Json.dll",
"lib/net6.0/System.Text.Json.xml",
"lib/net7.0/System.Text.Json.dll",
"lib/net7.0/System.Text.Json.xml",
"lib/net8.0/System.Text.Json.dll",
"lib/net8.0/System.Text.Json.xml",
"lib/netstandard2.0/System.Text.Json.dll", "lib/netstandard2.0/System.Text.Json.dll",
"lib/netstandard2.0/System.Text.Json.xml", "lib/netstandard2.0/System.Text.Json.xml",
"system.text.json.4.7.2.nupkg.sha512", "system.text.json.8.0.4.nupkg.sha512",
"system.text.json.nuspec", "system.text.json.nuspec",
"useSharedDesignerContext.txt", "useSharedDesignerContext.txt"
"version.txt"
] ]
}, },
"System.Threading.Tasks.Extensions/4.5.4": { "System.Threading.Tasks.Extensions/4.5.4": {

View File

@@ -1,6 +1,6 @@
{ {
"version": 2, "version": 2,
"dgSpecHash": "JoSHMK4IHJ4=", "dgSpecHash": "E4oWaijIyXE=",
"success": true, "success": true,
"projectFilePath": "C:\\Users\\fedpo\\source\\repos\\Final_Das\\Controladora\\Controladora.csproj", "projectFilePath": "C:\\Users\\fedpo\\source\\repos\\Final_Das\\Controladora\\Controladora.csproj",
"expectedPackageFiles": [ "expectedPackageFiles": [
@@ -10,16 +10,20 @@
"C:\\Users\\fedpo\\.nuget\\packages\\microsoft.csharp\\4.5.0\\microsoft.csharp.4.5.0.nupkg.sha512", "C:\\Users\\fedpo\\.nuget\\packages\\microsoft.csharp\\4.5.0\\microsoft.csharp.4.5.0.nupkg.sha512",
"C:\\Users\\fedpo\\.nuget\\packages\\microsoft.data.sqlclient\\5.1.5\\microsoft.data.sqlclient.5.1.5.nupkg.sha512", "C:\\Users\\fedpo\\.nuget\\packages\\microsoft.data.sqlclient\\5.1.5\\microsoft.data.sqlclient.5.1.5.nupkg.sha512",
"C:\\Users\\fedpo\\.nuget\\packages\\microsoft.data.sqlclient.sni.runtime\\5.1.1\\microsoft.data.sqlclient.sni.runtime.5.1.1.nupkg.sha512", "C:\\Users\\fedpo\\.nuget\\packages\\microsoft.data.sqlclient.sni.runtime\\5.1.1\\microsoft.data.sqlclient.sni.runtime.5.1.1.nupkg.sha512",
"C:\\Users\\fedpo\\.nuget\\packages\\microsoft.data.sqlite.core\\8.0.8\\microsoft.data.sqlite.core.8.0.8.nupkg.sha512",
"C:\\Users\\fedpo\\.nuget\\packages\\microsoft.entityframeworkcore\\8.0.8\\microsoft.entityframeworkcore.8.0.8.nupkg.sha512", "C:\\Users\\fedpo\\.nuget\\packages\\microsoft.entityframeworkcore\\8.0.8\\microsoft.entityframeworkcore.8.0.8.nupkg.sha512",
"C:\\Users\\fedpo\\.nuget\\packages\\microsoft.entityframeworkcore.abstractions\\8.0.8\\microsoft.entityframeworkcore.abstractions.8.0.8.nupkg.sha512", "C:\\Users\\fedpo\\.nuget\\packages\\microsoft.entityframeworkcore.abstractions\\8.0.8\\microsoft.entityframeworkcore.abstractions.8.0.8.nupkg.sha512",
"C:\\Users\\fedpo\\.nuget\\packages\\microsoft.entityframeworkcore.analyzers\\8.0.8\\microsoft.entityframeworkcore.analyzers.8.0.8.nupkg.sha512", "C:\\Users\\fedpo\\.nuget\\packages\\microsoft.entityframeworkcore.analyzers\\8.0.8\\microsoft.entityframeworkcore.analyzers.8.0.8.nupkg.sha512",
"C:\\Users\\fedpo\\.nuget\\packages\\microsoft.entityframeworkcore.relational\\8.0.8\\microsoft.entityframeworkcore.relational.8.0.8.nupkg.sha512", "C:\\Users\\fedpo\\.nuget\\packages\\microsoft.entityframeworkcore.relational\\8.0.8\\microsoft.entityframeworkcore.relational.8.0.8.nupkg.sha512",
"C:\\Users\\fedpo\\.nuget\\packages\\microsoft.entityframeworkcore.sqlite\\8.0.8\\microsoft.entityframeworkcore.sqlite.8.0.8.nupkg.sha512",
"C:\\Users\\fedpo\\.nuget\\packages\\microsoft.entityframeworkcore.sqlite.core\\8.0.8\\microsoft.entityframeworkcore.sqlite.core.8.0.8.nupkg.sha512",
"C:\\Users\\fedpo\\.nuget\\packages\\microsoft.entityframeworkcore.sqlserver\\8.0.8\\microsoft.entityframeworkcore.sqlserver.8.0.8.nupkg.sha512", "C:\\Users\\fedpo\\.nuget\\packages\\microsoft.entityframeworkcore.sqlserver\\8.0.8\\microsoft.entityframeworkcore.sqlserver.8.0.8.nupkg.sha512",
"C:\\Users\\fedpo\\.nuget\\packages\\microsoft.extensions.caching.abstractions\\8.0.0\\microsoft.extensions.caching.abstractions.8.0.0.nupkg.sha512", "C:\\Users\\fedpo\\.nuget\\packages\\microsoft.extensions.caching.abstractions\\8.0.0\\microsoft.extensions.caching.abstractions.8.0.0.nupkg.sha512",
"C:\\Users\\fedpo\\.nuget\\packages\\microsoft.extensions.caching.memory\\8.0.0\\microsoft.extensions.caching.memory.8.0.0.nupkg.sha512", "C:\\Users\\fedpo\\.nuget\\packages\\microsoft.extensions.caching.memory\\8.0.0\\microsoft.extensions.caching.memory.8.0.0.nupkg.sha512",
"C:\\Users\\fedpo\\.nuget\\packages\\microsoft.extensions.configuration.abstractions\\8.0.0\\microsoft.extensions.configuration.abstractions.8.0.0.nupkg.sha512", "C:\\Users\\fedpo\\.nuget\\packages\\microsoft.extensions.configuration.abstractions\\8.0.0\\microsoft.extensions.configuration.abstractions.8.0.0.nupkg.sha512",
"C:\\Users\\fedpo\\.nuget\\packages\\microsoft.extensions.dependencyinjection\\8.0.0\\microsoft.extensions.dependencyinjection.8.0.0.nupkg.sha512", "C:\\Users\\fedpo\\.nuget\\packages\\microsoft.extensions.dependencyinjection\\8.0.0\\microsoft.extensions.dependencyinjection.8.0.0.nupkg.sha512",
"C:\\Users\\fedpo\\.nuget\\packages\\microsoft.extensions.dependencyinjection.abstractions\\8.0.0\\microsoft.extensions.dependencyinjection.abstractions.8.0.0.nupkg.sha512", "C:\\Users\\fedpo\\.nuget\\packages\\microsoft.extensions.dependencyinjection.abstractions\\8.0.0\\microsoft.extensions.dependencyinjection.abstractions.8.0.0.nupkg.sha512",
"C:\\Users\\fedpo\\.nuget\\packages\\microsoft.extensions.dependencymodel\\8.0.1\\microsoft.extensions.dependencymodel.8.0.1.nupkg.sha512",
"C:\\Users\\fedpo\\.nuget\\packages\\microsoft.extensions.logging\\8.0.0\\microsoft.extensions.logging.8.0.0.nupkg.sha512", "C:\\Users\\fedpo\\.nuget\\packages\\microsoft.extensions.logging\\8.0.0\\microsoft.extensions.logging.8.0.0.nupkg.sha512",
"C:\\Users\\fedpo\\.nuget\\packages\\microsoft.extensions.logging.abstractions\\8.0.0\\microsoft.extensions.logging.abstractions.8.0.0.nupkg.sha512", "C:\\Users\\fedpo\\.nuget\\packages\\microsoft.extensions.logging.abstractions\\8.0.0\\microsoft.extensions.logging.abstractions.8.0.0.nupkg.sha512",
"C:\\Users\\fedpo\\.nuget\\packages\\microsoft.extensions.options\\8.0.0\\microsoft.extensions.options.8.0.0.nupkg.sha512", "C:\\Users\\fedpo\\.nuget\\packages\\microsoft.extensions.options\\8.0.0\\microsoft.extensions.options.8.0.0.nupkg.sha512",
@@ -36,6 +40,10 @@
"C:\\Users\\fedpo\\.nuget\\packages\\microsoft.netcore.targets\\1.1.0\\microsoft.netcore.targets.1.1.0.nupkg.sha512", "C:\\Users\\fedpo\\.nuget\\packages\\microsoft.netcore.targets\\1.1.0\\microsoft.netcore.targets.1.1.0.nupkg.sha512",
"C:\\Users\\fedpo\\.nuget\\packages\\microsoft.sqlserver.server\\1.0.0\\microsoft.sqlserver.server.1.0.0.nupkg.sha512", "C:\\Users\\fedpo\\.nuget\\packages\\microsoft.sqlserver.server\\1.0.0\\microsoft.sqlserver.server.1.0.0.nupkg.sha512",
"C:\\Users\\fedpo\\.nuget\\packages\\microsoft.win32.systemevents\\6.0.0\\microsoft.win32.systemevents.6.0.0.nupkg.sha512", "C:\\Users\\fedpo\\.nuget\\packages\\microsoft.win32.systemevents\\6.0.0\\microsoft.win32.systemevents.6.0.0.nupkg.sha512",
"C:\\Users\\fedpo\\.nuget\\packages\\sqlitepclraw.bundle_e_sqlite3\\2.1.6\\sqlitepclraw.bundle_e_sqlite3.2.1.6.nupkg.sha512",
"C:\\Users\\fedpo\\.nuget\\packages\\sqlitepclraw.core\\2.1.6\\sqlitepclraw.core.2.1.6.nupkg.sha512",
"C:\\Users\\fedpo\\.nuget\\packages\\sqlitepclraw.lib.e_sqlite3\\2.1.6\\sqlitepclraw.lib.e_sqlite3.2.1.6.nupkg.sha512",
"C:\\Users\\fedpo\\.nuget\\packages\\sqlitepclraw.provider.e_sqlite3\\2.1.6\\sqlitepclraw.provider.e_sqlite3.2.1.6.nupkg.sha512",
"C:\\Users\\fedpo\\.nuget\\packages\\system.configuration.configurationmanager\\6.0.1\\system.configuration.configurationmanager.6.0.1.nupkg.sha512", "C:\\Users\\fedpo\\.nuget\\packages\\system.configuration.configurationmanager\\6.0.1\\system.configuration.configurationmanager.6.0.1.nupkg.sha512",
"C:\\Users\\fedpo\\.nuget\\packages\\system.diagnostics.diagnosticsource\\6.0.1\\system.diagnostics.diagnosticsource.6.0.1.nupkg.sha512", "C:\\Users\\fedpo\\.nuget\\packages\\system.diagnostics.diagnosticsource\\6.0.1\\system.diagnostics.diagnosticsource.6.0.1.nupkg.sha512",
"C:\\Users\\fedpo\\.nuget\\packages\\system.drawing.common\\6.0.0\\system.drawing.common.6.0.0.nupkg.sha512", "C:\\Users\\fedpo\\.nuget\\packages\\system.drawing.common\\6.0.0\\system.drawing.common.6.0.0.nupkg.sha512",
@@ -55,8 +63,8 @@
"C:\\Users\\fedpo\\.nuget\\packages\\system.security.principal.windows\\5.0.0\\system.security.principal.windows.5.0.0.nupkg.sha512", "C:\\Users\\fedpo\\.nuget\\packages\\system.security.principal.windows\\5.0.0\\system.security.principal.windows.5.0.0.nupkg.sha512",
"C:\\Users\\fedpo\\.nuget\\packages\\system.text.encoding\\4.3.0\\system.text.encoding.4.3.0.nupkg.sha512", "C:\\Users\\fedpo\\.nuget\\packages\\system.text.encoding\\4.3.0\\system.text.encoding.4.3.0.nupkg.sha512",
"C:\\Users\\fedpo\\.nuget\\packages\\system.text.encoding.codepages\\6.0.0\\system.text.encoding.codepages.6.0.0.nupkg.sha512", "C:\\Users\\fedpo\\.nuget\\packages\\system.text.encoding.codepages\\6.0.0\\system.text.encoding.codepages.6.0.0.nupkg.sha512",
"C:\\Users\\fedpo\\.nuget\\packages\\system.text.encodings.web\\6.0.0\\system.text.encodings.web.6.0.0.nupkg.sha512", "C:\\Users\\fedpo\\.nuget\\packages\\system.text.encodings.web\\8.0.0\\system.text.encodings.web.8.0.0.nupkg.sha512",
"C:\\Users\\fedpo\\.nuget\\packages\\system.text.json\\4.7.2\\system.text.json.4.7.2.nupkg.sha512", "C:\\Users\\fedpo\\.nuget\\packages\\system.text.json\\8.0.4\\system.text.json.8.0.4.nupkg.sha512",
"C:\\Users\\fedpo\\.nuget\\packages\\system.threading.tasks.extensions\\4.5.4\\system.threading.tasks.extensions.4.5.4.nupkg.sha512", "C:\\Users\\fedpo\\.nuget\\packages\\system.threading.tasks.extensions\\4.5.4\\system.threading.tasks.extensions.4.5.4.nupkg.sha512",
"C:\\Users\\fedpo\\.nuget\\packages\\system.windows.extensions\\6.0.0\\system.windows.extensions.6.0.0.nupkg.sha512" "C:\\Users\\fedpo\\.nuget\\packages\\system.windows.extensions\\6.0.0\\system.windows.extensions.6.0.0.nupkg.sha512"
], ],

View File

@@ -5,7 +5,7 @@ namespace Entidades
{ {
public class Lote: Detalle<Producto> public class Lote: Detalle<Producto>
{ {
public int IdRemito { get; set; } public int IdRemito { get; set; }
public DateTime Fecha { get; set; } public DateTime Fecha { get; set; }
public bool Habilitado { get; set; } public bool Habilitado { get; set; }

View File

@@ -8,14 +8,13 @@
public int Id { get; set; } public int Id { get; set; }
public Proveedor Proveedor { get; set; } public Proveedor Proveedor { get; set; }
public int IdProveedor { get; set; }
private List<Lote> lotesDeProductosEntregados = new List<Lote>(); public List<Lote> Lotes = new List<Lote>();
public ReadOnlyCollection<Lote> Lotes => lotesDeProductosEntregados.AsReadOnly();
public void AñadirLote(Lote lote) public void AñadirLote(Lote lote)
{ {
try try
{ {
lotesDeProductosEntregados.Add(lote); Lotes.Add(lote);
} }
catch (Exception) catch (Exception)
{ {

View File

@@ -14,7 +14,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("Informes")] [assembly: System.Reflection.AssemblyCompanyAttribute("Informes")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+c15ae743ab4e6f1c270349cbe1eadde8c6404874")] [assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+393caac989bc21fa565a3f37f2db36fec8e62f3b")]
[assembly: System.Reflection.AssemblyProductAttribute("Informes")] [assembly: System.Reflection.AssemblyProductAttribute("Informes")]
[assembly: System.Reflection.AssemblyTitleAttribute("Informes")] [assembly: System.Reflection.AssemblyTitleAttribute("Informes")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]

View File

@@ -1 +1 @@
063488f106d4df3b350dc1d03b4f97c1bb306fa93a8938b525a7dd6820ac6ea7 dc67df6e3c1aefb669493ea32177a9ea3a8c3f191c3f4fe633543c972150f401

View File

@@ -0,0 +1,573 @@
// <auto-generated />
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using Modelo;
#nullable disable
namespace Modelo.Migrations
{
[DbContext(typeof(Context))]
[Migration("20240908160636_eliminadocamporedundante")]
partial class eliminadocamporedundante
{
/// <inheritdoc />
protected override void BuildTargetModel(ModelBuilder modelBuilder)
{
#pragma warning disable 612, 618
modelBuilder
.HasAnnotation("ProductVersion", "8.0.8")
.HasAnnotation("Relational:MaxIdentifierLength", 128);
SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder);
modelBuilder.Entity("Entidades.Categoria", b =>
{
b.Property<int>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("int");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"));
b.Property<string>("Descripcion")
.IsRequired()
.HasMaxLength(50)
.HasColumnType("nvarchar(50)");
b.HasKey("Id");
b.ToTable("Categoria", (string)null);
});
modelBuilder.Entity("Entidades.Cliente", b =>
{
b.Property<long>("Cuit")
.HasColumnType("bigint");
b.Property<string>("Apellido")
.IsRequired()
.HasMaxLength(30)
.HasColumnType("nvarchar(30)");
b.Property<string>("Correo")
.IsRequired()
.HasMaxLength(150)
.HasColumnType("nvarchar(150)");
b.Property<string>("Direccion")
.IsRequired()
.HasMaxLength(50)
.HasColumnType("nvarchar(50)");
b.Property<bool>("Habilitado")
.ValueGeneratedOnAdd()
.HasColumnType("bit")
.HasDefaultValue(true);
b.Property<string>("Nombre")
.IsRequired()
.HasMaxLength(30)
.HasColumnType("nvarchar(30)");
b.HasKey("Cuit");
b.ToTable("Clientes", (string)null);
});
modelBuilder.Entity("Entidades.DetalleFactura", b =>
{
b.Property<int>("Id")
.HasColumnType("int");
b.Property<int>("IdFactura")
.HasColumnType("int");
b.Property<int>("Cantidad")
.HasColumnType("int");
b.Property<int>("ProductoId")
.HasColumnType("int");
b.HasKey("Id", "IdFactura");
b.HasIndex("IdFactura");
b.HasIndex("ProductoId");
b.ToTable("DetallesFacturas", (string)null);
});
modelBuilder.Entity("Entidades.DetalleOrdenDeCompra", b =>
{
b.Property<int>("Id")
.HasColumnType("int");
b.Property<int>("IdOrdenDeCompra")
.HasColumnType("int");
b.Property<int>("Cantidad")
.HasColumnType("int");
b.Property<int>("IdPresupuesto")
.HasColumnType("int");
b.Property<double>("MontoCU")
.HasColumnType("float");
b.Property<int>("ProductoId")
.HasColumnType("int");
b.HasKey("Id", "IdOrdenDeCompra");
b.HasIndex("IdOrdenDeCompra");
b.HasIndex("ProductoId");
b.ToTable("DetalleOrdenDeCompras");
});
modelBuilder.Entity("Entidades.DetallePresupuesto", b =>
{
b.Property<int>("Id")
.HasColumnType("int");
b.Property<int>("IdPresupuesto")
.HasColumnType("int");
b.Property<int>("Cantidad")
.HasColumnType("int");
b.Property<double>("MontoCUPropuesto")
.HasColumnType("float");
b.Property<int>("ProductoId")
.HasColumnType("int");
b.HasKey("Id", "IdPresupuesto");
b.HasIndex("IdPresupuesto");
b.HasIndex("ProductoId");
b.ToTable("DetallePresupuestos");
});
modelBuilder.Entity("Entidades.Factura", b =>
{
b.Property<int>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("int");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"));
b.Property<long>("ClienteCuit")
.HasColumnType("bigint");
b.Property<DateTime>("Fecha")
.HasColumnType("datetime2");
b.Property<long>("IdCliente")
.HasColumnType("bigint");
b.Property<double>("Total")
.HasColumnType("float");
b.HasKey("Id");
b.HasIndex("ClienteCuit");
b.ToTable("Facturas", (string)null);
});
modelBuilder.Entity("Entidades.Lote", b =>
{
b.Property<int>("Id")
.HasColumnType("int");
b.Property<int>("IdRemito")
.HasColumnType("int");
b.Property<int>("Cantidad")
.HasColumnType("int");
b.Property<DateTime>("Fecha")
.HasColumnType("datetime2");
b.Property<bool>("Habilitado")
.HasColumnType("bit");
b.Property<int>("ProductoId")
.HasColumnType("int");
b.HasKey("Id", "IdRemito");
b.HasIndex("IdRemito");
b.HasIndex("ProductoId");
b.ToTable("Lotes");
});
modelBuilder.Entity("Entidades.OrdenDeCompra", b =>
{
b.Property<int>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("int");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"));
b.Property<bool>("Entregado")
.HasColumnType("bit");
b.Property<long>("IdProveedor")
.HasColumnType("bigint");
b.Property<long>("ProveedorCuit")
.HasColumnType("bigint");
b.HasKey("Id");
b.HasIndex("ProveedorCuit");
b.ToTable("OrdenDeCompras");
});
modelBuilder.Entity("Entidades.Presupuesto", b =>
{
b.Property<int>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("int");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"));
b.Property<bool>("Aceptado")
.HasColumnType("bit");
b.Property<DateTime>("Fecha")
.HasColumnType("datetime2");
b.Property<bool>("Habilitado")
.HasColumnType("bit");
b.Property<long>("IdProveedor")
.HasColumnType("bigint");
b.Property<long>("ProveedorCuit")
.HasColumnType("bigint");
b.HasKey("Id");
b.HasIndex("ProveedorCuit");
b.ToTable("Presupuestos");
});
modelBuilder.Entity("Entidades.Producto", b =>
{
b.Property<int>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("int");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"));
b.Property<string>("Discriminator")
.IsRequired()
.HasMaxLength(21)
.HasColumnType("nvarchar(21)");
b.Property<bool>("EsPerecedero")
.HasColumnType("bit");
b.Property<bool>("Habilitado")
.ValueGeneratedOnAdd()
.HasColumnType("bit")
.HasDefaultValue(true);
b.Property<string>("Nombre")
.IsRequired()
.HasMaxLength(30)
.HasColumnType("nvarchar(30)");
b.Property<double>("Precio")
.HasColumnType("float");
b.HasKey("Id");
b.ToTable("Producto");
b.HasDiscriminator().HasValue("Producto");
b.UseTphMappingStrategy();
});
modelBuilder.Entity("Entidades.Proveedor", b =>
{
b.Property<long>("Cuit")
.HasColumnType("bigint");
b.Property<string>("Direccion")
.IsRequired()
.HasMaxLength(60)
.HasColumnType("nvarchar(60)");
b.Property<bool>("Habilitado")
.ValueGeneratedOnAdd()
.HasColumnType("bit")
.HasDefaultValue(true);
b.Property<string>("Nombre")
.IsRequired()
.HasMaxLength(30)
.HasColumnType("nvarchar(30)");
b.Property<string>("RazonSocial")
.IsRequired()
.HasMaxLength(60)
.HasColumnType("nvarchar(60)");
b.HasKey("Cuit");
b.ToTable("Proveedores");
});
modelBuilder.Entity("Entidades.Remito", b =>
{
b.Property<int>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("int");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"));
b.Property<long>("ProveedorCuit")
.HasColumnType("bigint");
b.HasKey("Id");
b.HasIndex("ProveedorCuit");
b.ToTable("Remitos");
});
modelBuilder.Entity("ProductoCategoria", b =>
{
b.Property<int>("CategoriaId")
.HasColumnType("int");
b.Property<int>("ProductoId")
.HasColumnType("int");
b.HasKey("CategoriaId", "ProductoId");
b.HasIndex("ProductoId");
b.ToTable("ProductoCategoria");
});
modelBuilder.Entity("ProductoProveedor", b =>
{
b.Property<long>("ProveedorId")
.HasColumnType("bigint");
b.Property<int>("ProductoId")
.HasColumnType("int");
b.HasKey("ProveedorId", "ProductoId");
b.HasIndex("ProductoId");
b.ToTable("ProductoProveedor");
});
modelBuilder.Entity("Entidades.ProductoNoPercedero", b =>
{
b.HasBaseType("Entidades.Producto");
b.Property<string>("TipoDeEnvase")
.IsRequired()
.HasColumnType("nvarchar(max)");
b.HasDiscriminator().HasValue("ProductoNoPercedero");
});
modelBuilder.Entity("Entidades.ProductoPercedero", b =>
{
b.HasBaseType("Entidades.Producto");
b.Property<int>("MesesHastaConsumoPreferente")
.HasColumnType("int");
b.Property<int>("MesesHastaVencimiento")
.HasColumnType("int");
b.HasDiscriminator().HasValue("ProductoPercedero");
});
modelBuilder.Entity("Entidades.DetalleFactura", b =>
{
b.HasOne("Entidades.Factura", null)
.WithMany("Detalles")
.HasForeignKey("IdFactura")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.HasOne("Entidades.Producto", "Producto")
.WithMany()
.HasForeignKey("ProductoId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.Navigation("Producto");
});
modelBuilder.Entity("Entidades.DetalleOrdenDeCompra", b =>
{
b.HasOne("Entidades.OrdenDeCompra", null)
.WithMany("detalles")
.HasForeignKey("IdOrdenDeCompra")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.HasOne("Entidades.Producto", "Producto")
.WithMany()
.HasForeignKey("ProductoId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.Navigation("Producto");
});
modelBuilder.Entity("Entidades.DetallePresupuesto", b =>
{
b.HasOne("Entidades.Presupuesto", null)
.WithMany("detalles")
.HasForeignKey("IdPresupuesto")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.HasOne("Entidades.Producto", "Producto")
.WithMany()
.HasForeignKey("ProductoId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.Navigation("Producto");
});
modelBuilder.Entity("Entidades.Factura", b =>
{
b.HasOne("Entidades.Cliente", "Cliente")
.WithMany()
.HasForeignKey("ClienteCuit")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.Navigation("Cliente");
});
modelBuilder.Entity("Entidades.Lote", b =>
{
b.HasOne("Entidades.Remito", null)
.WithMany("Lotes")
.HasForeignKey("IdRemito")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.HasOne("Entidades.Producto", "Producto")
.WithMany()
.HasForeignKey("ProductoId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.Navigation("Producto");
});
modelBuilder.Entity("Entidades.OrdenDeCompra", b =>
{
b.HasOne("Entidades.Proveedor", "Proveedor")
.WithMany()
.HasForeignKey("ProveedorCuit")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.Navigation("Proveedor");
});
modelBuilder.Entity("Entidades.Presupuesto", b =>
{
b.HasOne("Entidades.Proveedor", "Proveedor")
.WithMany()
.HasForeignKey("ProveedorCuit")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.Navigation("Proveedor");
});
modelBuilder.Entity("Entidades.Remito", b =>
{
b.HasOne("Entidades.Proveedor", "Proveedor")
.WithMany()
.HasForeignKey("ProveedorCuit")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.Navigation("Proveedor");
});
modelBuilder.Entity("ProductoCategoria", b =>
{
b.HasOne("Entidades.Categoria", null)
.WithMany()
.HasForeignKey("CategoriaId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.HasOne("Entidades.Producto", null)
.WithMany()
.HasForeignKey("ProductoId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
});
modelBuilder.Entity("ProductoProveedor", b =>
{
b.HasOne("Entidades.Producto", null)
.WithMany()
.HasForeignKey("ProductoId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.HasOne("Entidades.Proveedor", null)
.WithMany()
.HasForeignKey("ProveedorId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
});
modelBuilder.Entity("Entidades.Factura", b =>
{
b.Navigation("Detalles");
});
modelBuilder.Entity("Entidades.OrdenDeCompra", b =>
{
b.Navigation("detalles");
});
modelBuilder.Entity("Entidades.Presupuesto", b =>
{
b.Navigation("detalles");
});
modelBuilder.Entity("Entidades.Remito", b =>
{
b.Navigation("Lotes");
});
#pragma warning restore 612, 618
}
}
}

View File

@@ -0,0 +1,29 @@
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace Modelo.Migrations
{
/// <inheritdoc />
public partial class eliminadocamporedundante : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "IdProveedor",
table: "Remitos");
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<int>(
name: "IdProveedor",
table: "Remitos",
type: "int",
nullable: false,
defaultValue: 0);
}
}
}

View File

@@ -0,0 +1,556 @@
// <auto-generated />
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using Modelo;
#nullable disable
namespace Modelo.Migrations
{
[DbContext(typeof(Context))]
[Migration("20240908162248_mepaseasqlite")]
partial class mepaseasqlite
{
/// <inheritdoc />
protected override void BuildTargetModel(ModelBuilder modelBuilder)
{
#pragma warning disable 612, 618
modelBuilder.HasAnnotation("ProductVersion", "8.0.8");
modelBuilder.Entity("Entidades.Categoria", b =>
{
b.Property<int>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property<string>("Descripcion")
.IsRequired()
.HasMaxLength(50)
.HasColumnType("TEXT");
b.HasKey("Id");
b.ToTable("Categoria", (string)null);
});
modelBuilder.Entity("Entidades.Cliente", b =>
{
b.Property<long>("Cuit")
.HasColumnType("INTEGER");
b.Property<string>("Apellido")
.IsRequired()
.HasMaxLength(30)
.HasColumnType("TEXT");
b.Property<string>("Correo")
.IsRequired()
.HasMaxLength(150)
.HasColumnType("TEXT");
b.Property<string>("Direccion")
.IsRequired()
.HasMaxLength(50)
.HasColumnType("TEXT");
b.Property<bool>("Habilitado")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER")
.HasDefaultValue(true);
b.Property<string>("Nombre")
.IsRequired()
.HasMaxLength(30)
.HasColumnType("TEXT");
b.HasKey("Cuit");
b.ToTable("Clientes", (string)null);
});
modelBuilder.Entity("Entidades.DetalleFactura", b =>
{
b.Property<int>("Id")
.HasColumnType("INTEGER");
b.Property<int>("IdFactura")
.HasColumnType("INTEGER");
b.Property<int>("Cantidad")
.HasColumnType("INTEGER");
b.Property<int>("ProductoId")
.HasColumnType("INTEGER");
b.HasKey("Id", "IdFactura");
b.HasIndex("IdFactura");
b.HasIndex("ProductoId");
b.ToTable("DetallesFacturas", (string)null);
});
modelBuilder.Entity("Entidades.DetalleOrdenDeCompra", b =>
{
b.Property<int>("Id")
.HasColumnType("INTEGER");
b.Property<int>("IdOrdenDeCompra")
.HasColumnType("INTEGER");
b.Property<int>("Cantidad")
.HasColumnType("INTEGER");
b.Property<int>("IdPresupuesto")
.HasColumnType("INTEGER");
b.Property<double>("MontoCU")
.HasColumnType("REAL");
b.Property<int>("ProductoId")
.HasColumnType("INTEGER");
b.HasKey("Id", "IdOrdenDeCompra");
b.HasIndex("IdOrdenDeCompra");
b.HasIndex("ProductoId");
b.ToTable("DetalleOrdenDeCompras");
});
modelBuilder.Entity("Entidades.DetallePresupuesto", b =>
{
b.Property<int>("Id")
.HasColumnType("INTEGER");
b.Property<int>("IdPresupuesto")
.HasColumnType("INTEGER");
b.Property<int>("Cantidad")
.HasColumnType("INTEGER");
b.Property<double>("MontoCUPropuesto")
.HasColumnType("REAL");
b.Property<int>("ProductoId")
.HasColumnType("INTEGER");
b.HasKey("Id", "IdPresupuesto");
b.HasIndex("IdPresupuesto");
b.HasIndex("ProductoId");
b.ToTable("DetallePresupuestos");
});
modelBuilder.Entity("Entidades.Factura", b =>
{
b.Property<int>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property<long>("ClienteCuit")
.HasColumnType("INTEGER");
b.Property<DateTime>("Fecha")
.HasColumnType("TEXT");
b.Property<long>("IdCliente")
.HasColumnType("INTEGER");
b.Property<double>("Total")
.HasColumnType("REAL");
b.HasKey("Id");
b.HasIndex("ClienteCuit");
b.ToTable("Facturas", (string)null);
});
modelBuilder.Entity("Entidades.Lote", b =>
{
b.Property<int>("Id")
.HasColumnType("INTEGER");
b.Property<int>("IdRemito")
.HasColumnType("INTEGER");
b.Property<int>("Cantidad")
.HasColumnType("INTEGER");
b.Property<DateTime>("Fecha")
.HasColumnType("TEXT");
b.Property<bool>("Habilitado")
.HasColumnType("INTEGER");
b.Property<int>("ProductoId")
.HasColumnType("INTEGER");
b.HasKey("Id", "IdRemito");
b.HasIndex("IdRemito");
b.HasIndex("ProductoId");
b.ToTable("Lotes");
});
modelBuilder.Entity("Entidades.OrdenDeCompra", b =>
{
b.Property<int>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property<bool>("Entregado")
.HasColumnType("INTEGER");
b.Property<long>("IdProveedor")
.HasColumnType("INTEGER");
b.Property<long>("ProveedorCuit")
.HasColumnType("INTEGER");
b.HasKey("Id");
b.HasIndex("ProveedorCuit");
b.ToTable("OrdenDeCompras");
});
modelBuilder.Entity("Entidades.Presupuesto", b =>
{
b.Property<int>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property<bool>("Aceptado")
.HasColumnType("INTEGER");
b.Property<DateTime>("Fecha")
.HasColumnType("TEXT");
b.Property<bool>("Habilitado")
.HasColumnType("INTEGER");
b.Property<long>("IdProveedor")
.HasColumnType("INTEGER");
b.Property<long>("ProveedorCuit")
.HasColumnType("INTEGER");
b.HasKey("Id");
b.HasIndex("ProveedorCuit");
b.ToTable("Presupuestos");
});
modelBuilder.Entity("Entidades.Producto", b =>
{
b.Property<int>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property<string>("Discriminator")
.IsRequired()
.HasMaxLength(21)
.HasColumnType("TEXT");
b.Property<bool>("EsPerecedero")
.HasColumnType("INTEGER");
b.Property<bool>("Habilitado")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER")
.HasDefaultValue(true);
b.Property<string>("Nombre")
.IsRequired()
.HasMaxLength(30)
.HasColumnType("TEXT");
b.Property<double>("Precio")
.HasColumnType("float");
b.HasKey("Id");
b.ToTable("Producto");
b.HasDiscriminator().HasValue("Producto");
b.UseTphMappingStrategy();
});
modelBuilder.Entity("Entidades.Proveedor", b =>
{
b.Property<long>("Cuit")
.HasColumnType("INTEGER");
b.Property<string>("Direccion")
.IsRequired()
.HasMaxLength(60)
.HasColumnType("TEXT");
b.Property<bool>("Habilitado")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER")
.HasDefaultValue(true);
b.Property<string>("Nombre")
.IsRequired()
.HasMaxLength(30)
.HasColumnType("TEXT");
b.Property<string>("RazonSocial")
.IsRequired()
.HasMaxLength(60)
.HasColumnType("TEXT");
b.HasKey("Cuit");
b.ToTable("Proveedores");
});
modelBuilder.Entity("Entidades.Remito", b =>
{
b.Property<int>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property<long>("ProveedorCuit")
.HasColumnType("INTEGER");
b.HasKey("Id");
b.HasIndex("ProveedorCuit");
b.ToTable("Remitos");
});
modelBuilder.Entity("ProductoCategoria", b =>
{
b.Property<int>("CategoriaId")
.HasColumnType("INTEGER");
b.Property<int>("ProductoId")
.HasColumnType("INTEGER");
b.HasKey("CategoriaId", "ProductoId");
b.HasIndex("ProductoId");
b.ToTable("ProductoCategoria");
});
modelBuilder.Entity("ProductoProveedor", b =>
{
b.Property<long>("ProveedorId")
.HasColumnType("INTEGER");
b.Property<int>("ProductoId")
.HasColumnType("INTEGER");
b.HasKey("ProveedorId", "ProductoId");
b.HasIndex("ProductoId");
b.ToTable("ProductoProveedor");
});
modelBuilder.Entity("Entidades.ProductoNoPercedero", b =>
{
b.HasBaseType("Entidades.Producto");
b.Property<string>("TipoDeEnvase")
.IsRequired()
.HasColumnType("TEXT");
b.HasDiscriminator().HasValue("ProductoNoPercedero");
});
modelBuilder.Entity("Entidades.ProductoPercedero", b =>
{
b.HasBaseType("Entidades.Producto");
b.Property<int>("MesesHastaConsumoPreferente")
.HasColumnType("INTEGER");
b.Property<int>("MesesHastaVencimiento")
.HasColumnType("INTEGER");
b.HasDiscriminator().HasValue("ProductoPercedero");
});
modelBuilder.Entity("Entidades.DetalleFactura", b =>
{
b.HasOne("Entidades.Factura", null)
.WithMany("Detalles")
.HasForeignKey("IdFactura")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.HasOne("Entidades.Producto", "Producto")
.WithMany()
.HasForeignKey("ProductoId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.Navigation("Producto");
});
modelBuilder.Entity("Entidades.DetalleOrdenDeCompra", b =>
{
b.HasOne("Entidades.OrdenDeCompra", null)
.WithMany("detalles")
.HasForeignKey("IdOrdenDeCompra")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.HasOne("Entidades.Producto", "Producto")
.WithMany()
.HasForeignKey("ProductoId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.Navigation("Producto");
});
modelBuilder.Entity("Entidades.DetallePresupuesto", b =>
{
b.HasOne("Entidades.Presupuesto", null)
.WithMany("detalles")
.HasForeignKey("IdPresupuesto")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.HasOne("Entidades.Producto", "Producto")
.WithMany()
.HasForeignKey("ProductoId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.Navigation("Producto");
});
modelBuilder.Entity("Entidades.Factura", b =>
{
b.HasOne("Entidades.Cliente", "Cliente")
.WithMany()
.HasForeignKey("ClienteCuit")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.Navigation("Cliente");
});
modelBuilder.Entity("Entidades.Lote", b =>
{
b.HasOne("Entidades.Remito", null)
.WithMany("Lotes")
.HasForeignKey("IdRemito")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.HasOne("Entidades.Producto", "Producto")
.WithMany()
.HasForeignKey("ProductoId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.Navigation("Producto");
});
modelBuilder.Entity("Entidades.OrdenDeCompra", b =>
{
b.HasOne("Entidades.Proveedor", "Proveedor")
.WithMany()
.HasForeignKey("ProveedorCuit")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.Navigation("Proveedor");
});
modelBuilder.Entity("Entidades.Presupuesto", b =>
{
b.HasOne("Entidades.Proveedor", "Proveedor")
.WithMany()
.HasForeignKey("ProveedorCuit")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.Navigation("Proveedor");
});
modelBuilder.Entity("Entidades.Remito", b =>
{
b.HasOne("Entidades.Proveedor", "Proveedor")
.WithMany()
.HasForeignKey("ProveedorCuit")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.Navigation("Proveedor");
});
modelBuilder.Entity("ProductoCategoria", b =>
{
b.HasOne("Entidades.Categoria", null)
.WithMany()
.HasForeignKey("CategoriaId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.HasOne("Entidades.Producto", null)
.WithMany()
.HasForeignKey("ProductoId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
});
modelBuilder.Entity("ProductoProveedor", b =>
{
b.HasOne("Entidades.Producto", null)
.WithMany()
.HasForeignKey("ProductoId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.HasOne("Entidades.Proveedor", null)
.WithMany()
.HasForeignKey("ProveedorId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
});
modelBuilder.Entity("Entidades.Factura", b =>
{
b.Navigation("Detalles");
});
modelBuilder.Entity("Entidades.OrdenDeCompra", b =>
{
b.Navigation("detalles");
});
modelBuilder.Entity("Entidades.Presupuesto", b =>
{
b.Navigation("detalles");
});
modelBuilder.Entity("Entidades.Remito", b =>
{
b.Navigation("Lotes");
});
#pragma warning restore 612, 618
}
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -2,7 +2,6 @@
using System; using System;
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using Modelo; using Modelo;
@@ -16,24 +15,18 @@ namespace Modelo.Migrations
protected override void BuildModel(ModelBuilder modelBuilder) protected override void BuildModel(ModelBuilder modelBuilder)
{ {
#pragma warning disable 612, 618 #pragma warning disable 612, 618
modelBuilder modelBuilder.HasAnnotation("ProductVersion", "8.0.8");
.HasAnnotation("ProductVersion", "8.0.8")
.HasAnnotation("Relational:MaxIdentifierLength", 128);
SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder);
modelBuilder.Entity("Entidades.Categoria", b => modelBuilder.Entity("Entidades.Categoria", b =>
{ {
b.Property<int>("Id") b.Property<int>("Id")
.ValueGeneratedOnAdd() .ValueGeneratedOnAdd()
.HasColumnType("int"); .HasColumnType("INTEGER");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"));
b.Property<string>("Descripcion") b.Property<string>("Descripcion")
.IsRequired() .IsRequired()
.HasMaxLength(50) .HasMaxLength(50)
.HasColumnType("nvarchar(50)"); .HasColumnType("TEXT");
b.HasKey("Id"); b.HasKey("Id");
@@ -43,32 +36,32 @@ namespace Modelo.Migrations
modelBuilder.Entity("Entidades.Cliente", b => modelBuilder.Entity("Entidades.Cliente", b =>
{ {
b.Property<long>("Cuit") b.Property<long>("Cuit")
.HasColumnType("bigint"); .HasColumnType("INTEGER");
b.Property<string>("Apellido") b.Property<string>("Apellido")
.IsRequired() .IsRequired()
.HasMaxLength(30) .HasMaxLength(30)
.HasColumnType("nvarchar(30)"); .HasColumnType("TEXT");
b.Property<string>("Correo") b.Property<string>("Correo")
.IsRequired() .IsRequired()
.HasMaxLength(150) .HasMaxLength(150)
.HasColumnType("nvarchar(150)"); .HasColumnType("TEXT");
b.Property<string>("Direccion") b.Property<string>("Direccion")
.IsRequired() .IsRequired()
.HasMaxLength(50) .HasMaxLength(50)
.HasColumnType("nvarchar(50)"); .HasColumnType("TEXT");
b.Property<bool>("Habilitado") b.Property<bool>("Habilitado")
.ValueGeneratedOnAdd() .ValueGeneratedOnAdd()
.HasColumnType("bit") .HasColumnType("INTEGER")
.HasDefaultValue(true); .HasDefaultValue(true);
b.Property<string>("Nombre") b.Property<string>("Nombre")
.IsRequired() .IsRequired()
.HasMaxLength(30) .HasMaxLength(30)
.HasColumnType("nvarchar(30)"); .HasColumnType("TEXT");
b.HasKey("Cuit"); b.HasKey("Cuit");
@@ -78,16 +71,16 @@ namespace Modelo.Migrations
modelBuilder.Entity("Entidades.DetalleFactura", b => modelBuilder.Entity("Entidades.DetalleFactura", b =>
{ {
b.Property<int>("Id") b.Property<int>("Id")
.HasColumnType("int"); .HasColumnType("INTEGER");
b.Property<int>("IdFactura") b.Property<int>("IdFactura")
.HasColumnType("int"); .HasColumnType("INTEGER");
b.Property<int>("Cantidad") b.Property<int>("Cantidad")
.HasColumnType("int"); .HasColumnType("INTEGER");
b.Property<int>("ProductoId") b.Property<int>("ProductoId")
.HasColumnType("int"); .HasColumnType("INTEGER");
b.HasKey("Id", "IdFactura"); b.HasKey("Id", "IdFactura");
@@ -101,22 +94,22 @@ namespace Modelo.Migrations
modelBuilder.Entity("Entidades.DetalleOrdenDeCompra", b => modelBuilder.Entity("Entidades.DetalleOrdenDeCompra", b =>
{ {
b.Property<int>("Id") b.Property<int>("Id")
.HasColumnType("int"); .HasColumnType("INTEGER");
b.Property<int>("IdOrdenDeCompra") b.Property<int>("IdOrdenDeCompra")
.HasColumnType("int"); .HasColumnType("INTEGER");
b.Property<int>("Cantidad") b.Property<int>("Cantidad")
.HasColumnType("int"); .HasColumnType("INTEGER");
b.Property<int>("IdPresupuesto") b.Property<int>("IdPresupuesto")
.HasColumnType("int"); .HasColumnType("INTEGER");
b.Property<double>("MontoCU") b.Property<double>("MontoCU")
.HasColumnType("float"); .HasColumnType("REAL");
b.Property<int>("ProductoId") b.Property<int>("ProductoId")
.HasColumnType("int"); .HasColumnType("INTEGER");
b.HasKey("Id", "IdOrdenDeCompra"); b.HasKey("Id", "IdOrdenDeCompra");
@@ -124,25 +117,25 @@ namespace Modelo.Migrations
b.HasIndex("ProductoId"); b.HasIndex("ProductoId");
b.ToTable("DetalleOrdenDeCompras", (string)null); b.ToTable("DetalleOrdenDeCompras");
}); });
modelBuilder.Entity("Entidades.DetallePresupuesto", b => modelBuilder.Entity("Entidades.DetallePresupuesto", b =>
{ {
b.Property<int>("Id") b.Property<int>("Id")
.HasColumnType("int"); .HasColumnType("INTEGER");
b.Property<int>("IdPresupuesto") b.Property<int>("IdPresupuesto")
.HasColumnType("int"); .HasColumnType("INTEGER");
b.Property<int>("Cantidad") b.Property<int>("Cantidad")
.HasColumnType("int"); .HasColumnType("INTEGER");
b.Property<double>("MontoCUPropuesto") b.Property<double>("MontoCUPropuesto")
.HasColumnType("float"); .HasColumnType("REAL");
b.Property<int>("ProductoId") b.Property<int>("ProductoId")
.HasColumnType("int"); .HasColumnType("INTEGER");
b.HasKey("Id", "IdPresupuesto"); b.HasKey("Id", "IdPresupuesto");
@@ -150,28 +143,26 @@ namespace Modelo.Migrations
b.HasIndex("ProductoId"); b.HasIndex("ProductoId");
b.ToTable("DetallePresupuestos", (string)null); b.ToTable("DetallePresupuestos");
}); });
modelBuilder.Entity("Entidades.Factura", b => modelBuilder.Entity("Entidades.Factura", b =>
{ {
b.Property<int>("Id") b.Property<int>("Id")
.ValueGeneratedOnAdd() .ValueGeneratedOnAdd()
.HasColumnType("int"); .HasColumnType("INTEGER");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"));
b.Property<long>("ClienteCuit") b.Property<long>("ClienteCuit")
.HasColumnType("bigint"); .HasColumnType("INTEGER");
b.Property<DateTime>("Fecha") b.Property<DateTime>("Fecha")
.HasColumnType("datetime2"); .HasColumnType("TEXT");
b.Property<long>("IdCliente") b.Property<long>("IdCliente")
.HasColumnType("bigint"); .HasColumnType("INTEGER");
b.Property<double>("Total") b.Property<double>("Total")
.HasColumnType("float"); .HasColumnType("REAL");
b.HasKey("Id"); b.HasKey("Id");
@@ -183,22 +174,22 @@ namespace Modelo.Migrations
modelBuilder.Entity("Entidades.Lote", b => modelBuilder.Entity("Entidades.Lote", b =>
{ {
b.Property<int>("Id") b.Property<int>("Id")
.HasColumnType("int"); .HasColumnType("INTEGER");
b.Property<int>("IdRemito") b.Property<int>("IdRemito")
.HasColumnType("int"); .HasColumnType("INTEGER");
b.Property<int>("Cantidad") b.Property<int>("Cantidad")
.HasColumnType("int"); .HasColumnType("INTEGER");
b.Property<DateTime>("Fecha") b.Property<DateTime>("Fecha")
.HasColumnType("datetime2"); .HasColumnType("TEXT");
b.Property<bool>("Habilitado") b.Property<bool>("Habilitado")
.HasColumnType("bit"); .HasColumnType("INTEGER");
b.Property<int>("ProductoId") b.Property<int>("ProductoId")
.HasColumnType("int"); .HasColumnType("INTEGER");
b.HasKey("Id", "IdRemito"); b.HasKey("Id", "IdRemito");
@@ -206,95 +197,89 @@ namespace Modelo.Migrations
b.HasIndex("ProductoId"); b.HasIndex("ProductoId");
b.ToTable("Lotes", (string)null); b.ToTable("Lotes");
}); });
modelBuilder.Entity("Entidades.OrdenDeCompra", b => modelBuilder.Entity("Entidades.OrdenDeCompra", b =>
{ {
b.Property<int>("Id") b.Property<int>("Id")
.ValueGeneratedOnAdd() .ValueGeneratedOnAdd()
.HasColumnType("int"); .HasColumnType("INTEGER");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"));
b.Property<bool>("Entregado") b.Property<bool>("Entregado")
.HasColumnType("bit"); .HasColumnType("INTEGER");
b.Property<long>("IdProveedor") b.Property<long>("IdProveedor")
.HasColumnType("bigint"); .HasColumnType("INTEGER");
b.Property<long>("ProveedorCuit") b.Property<long>("ProveedorCuit")
.HasColumnType("bigint"); .HasColumnType("INTEGER");
b.HasKey("Id"); b.HasKey("Id");
b.HasIndex("ProveedorCuit"); b.HasIndex("ProveedorCuit");
b.ToTable("OrdenDeCompras", (string)null); b.ToTable("OrdenDeCompras");
}); });
modelBuilder.Entity("Entidades.Presupuesto", b => modelBuilder.Entity("Entidades.Presupuesto", b =>
{ {
b.Property<int>("Id") b.Property<int>("Id")
.ValueGeneratedOnAdd() .ValueGeneratedOnAdd()
.HasColumnType("int"); .HasColumnType("INTEGER");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"));
b.Property<bool>("Aceptado") b.Property<bool>("Aceptado")
.HasColumnType("bit"); .HasColumnType("INTEGER");
b.Property<DateTime>("Fecha") b.Property<DateTime>("Fecha")
.HasColumnType("datetime2"); .HasColumnType("TEXT");
b.Property<bool>("Habilitado") b.Property<bool>("Habilitado")
.HasColumnType("bit"); .HasColumnType("INTEGER");
b.Property<long>("IdProveedor") b.Property<long>("IdProveedor")
.HasColumnType("bigint"); .HasColumnType("INTEGER");
b.Property<long>("ProveedorCuit") b.Property<long>("ProveedorCuit")
.HasColumnType("bigint"); .HasColumnType("INTEGER");
b.HasKey("Id"); b.HasKey("Id");
b.HasIndex("ProveedorCuit"); b.HasIndex("ProveedorCuit");
b.ToTable("Presupuestos", (string)null); b.ToTable("Presupuestos");
}); });
modelBuilder.Entity("Entidades.Producto", b => modelBuilder.Entity("Entidades.Producto", b =>
{ {
b.Property<int>("Id") b.Property<int>("Id")
.ValueGeneratedOnAdd() .ValueGeneratedOnAdd()
.HasColumnType("int"); .HasColumnType("INTEGER");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"));
b.Property<string>("Discriminator") b.Property<string>("Discriminator")
.IsRequired() .IsRequired()
.HasMaxLength(21) .HasMaxLength(21)
.HasColumnType("nvarchar(21)"); .HasColumnType("TEXT");
b.Property<bool>("EsPerecedero") b.Property<bool>("EsPerecedero")
.HasColumnType("bit"); .HasColumnType("INTEGER");
b.Property<bool>("Habilitado") b.Property<bool>("Habilitado")
.ValueGeneratedOnAdd() .ValueGeneratedOnAdd()
.HasColumnType("bit") .HasColumnType("INTEGER")
.HasDefaultValue(true); .HasDefaultValue(true);
b.Property<string>("Nombre") b.Property<string>("Nombre")
.IsRequired() .IsRequired()
.HasMaxLength(30) .HasMaxLength(30)
.HasColumnType("nvarchar(30)"); .HasColumnType("TEXT");
b.Property<double>("Precio") b.Property<double>("Precio")
.HasColumnType("float"); .HasColumnType("float");
b.HasKey("Id"); b.HasKey("Id");
b.ToTable("Producto", (string)null); b.ToTable("Producto");
b.HasDiscriminator().HasValue("Producto"); b.HasDiscriminator().HasValue("Producto");
@@ -304,82 +289,77 @@ namespace Modelo.Migrations
modelBuilder.Entity("Entidades.Proveedor", b => modelBuilder.Entity("Entidades.Proveedor", b =>
{ {
b.Property<long>("Cuit") b.Property<long>("Cuit")
.HasColumnType("bigint"); .HasColumnType("INTEGER");
b.Property<string>("Direccion") b.Property<string>("Direccion")
.IsRequired() .IsRequired()
.HasMaxLength(60) .HasMaxLength(60)
.HasColumnType("nvarchar(60)"); .HasColumnType("TEXT");
b.Property<bool>("Habilitado") b.Property<bool>("Habilitado")
.ValueGeneratedOnAdd() .ValueGeneratedOnAdd()
.HasColumnType("bit") .HasColumnType("INTEGER")
.HasDefaultValue(true); .HasDefaultValue(true);
b.Property<string>("Nombre") b.Property<string>("Nombre")
.IsRequired() .IsRequired()
.HasMaxLength(30) .HasMaxLength(30)
.HasColumnType("nvarchar(30)"); .HasColumnType("TEXT");
b.Property<string>("RazonSocial") b.Property<string>("RazonSocial")
.IsRequired() .IsRequired()
.HasMaxLength(60) .HasMaxLength(60)
.HasColumnType("nvarchar(60)"); .HasColumnType("TEXT");
b.HasKey("Cuit"); b.HasKey("Cuit");
b.ToTable("Proveedores", (string)null); b.ToTable("Proveedores");
}); });
modelBuilder.Entity("Entidades.Remito", b => modelBuilder.Entity("Entidades.Remito", b =>
{ {
b.Property<int>("Id") b.Property<int>("Id")
.ValueGeneratedOnAdd() .ValueGeneratedOnAdd()
.HasColumnType("int"); .HasColumnType("INTEGER");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"));
b.Property<int>("IdProveedor")
.HasColumnType("int");
b.Property<long>("ProveedorCuit") b.Property<long>("ProveedorCuit")
.HasColumnType("bigint"); .HasColumnType("INTEGER");
b.HasKey("Id"); b.HasKey("Id");
b.HasIndex("ProveedorCuit"); b.HasIndex("ProveedorCuit");
b.ToTable("Remitos", (string)null); b.ToTable("Remitos");
}); });
modelBuilder.Entity("ProductoCategoria", b => modelBuilder.Entity("ProductoCategoria", b =>
{ {
b.Property<int>("CategoriaId") b.Property<int>("CategoriaId")
.HasColumnType("int"); .HasColumnType("INTEGER");
b.Property<int>("ProductoId") b.Property<int>("ProductoId")
.HasColumnType("int"); .HasColumnType("INTEGER");
b.HasKey("CategoriaId", "ProductoId"); b.HasKey("CategoriaId", "ProductoId");
b.HasIndex("ProductoId"); b.HasIndex("ProductoId");
b.ToTable("ProductoCategoria", (string)null); b.ToTable("ProductoCategoria");
}); });
modelBuilder.Entity("ProductoProveedor", b => modelBuilder.Entity("ProductoProveedor", b =>
{ {
b.Property<long>("ProveedorId") b.Property<long>("ProveedorId")
.HasColumnType("bigint"); .HasColumnType("INTEGER");
b.Property<int>("ProductoId") b.Property<int>("ProductoId")
.HasColumnType("int"); .HasColumnType("INTEGER");
b.HasKey("ProveedorId", "ProductoId"); b.HasKey("ProveedorId", "ProductoId");
b.HasIndex("ProductoId"); b.HasIndex("ProductoId");
b.ToTable("ProductoProveedor", (string)null); b.ToTable("ProductoProveedor");
}); });
modelBuilder.Entity("Entidades.ProductoNoPercedero", b => modelBuilder.Entity("Entidades.ProductoNoPercedero", b =>
@@ -388,7 +368,7 @@ namespace Modelo.Migrations
b.Property<string>("TipoDeEnvase") b.Property<string>("TipoDeEnvase")
.IsRequired() .IsRequired()
.HasColumnType("nvarchar(max)"); .HasColumnType("TEXT");
b.HasDiscriminator().HasValue("ProductoNoPercedero"); b.HasDiscriminator().HasValue("ProductoNoPercedero");
}); });
@@ -398,10 +378,10 @@ namespace Modelo.Migrations
b.HasBaseType("Entidades.Producto"); b.HasBaseType("Entidades.Producto");
b.Property<int>("MesesHastaConsumoPreferente") b.Property<int>("MesesHastaConsumoPreferente")
.HasColumnType("int"); .HasColumnType("INTEGER");
b.Property<int>("MesesHastaVencimiento") b.Property<int>("MesesHastaVencimiento")
.HasColumnType("int"); .HasColumnType("INTEGER");
b.HasDiscriminator().HasValue("ProductoPercedero"); b.HasDiscriminator().HasValue("ProductoPercedero");
}); });
@@ -426,7 +406,7 @@ namespace Modelo.Migrations
modelBuilder.Entity("Entidades.DetalleOrdenDeCompra", b => modelBuilder.Entity("Entidades.DetalleOrdenDeCompra", b =>
{ {
b.HasOne("Entidades.OrdenDeCompra", null) b.HasOne("Entidades.OrdenDeCompra", null)
.WithMany("Detalles") .WithMany("detalles")
.HasForeignKey("IdOrdenDeCompra") .HasForeignKey("IdOrdenDeCompra")
.OnDelete(DeleteBehavior.Cascade) .OnDelete(DeleteBehavior.Cascade)
.IsRequired(); .IsRequired();
@@ -555,7 +535,7 @@ namespace Modelo.Migrations
modelBuilder.Entity("Entidades.OrdenDeCompra", b => modelBuilder.Entity("Entidades.OrdenDeCompra", b =>
{ {
b.Navigation("Detalles"); b.Navigation("detalles");
}); });
modelBuilder.Entity("Entidades.Presupuesto", b => modelBuilder.Entity("Entidades.Presupuesto", b =>

View File

@@ -18,10 +18,16 @@ public class Context : Microsoft.EntityFrameworkCore.DbContext
public DbSet<ProductoNoPercedero> ProductoNoPercederos { get; set; } public DbSet<ProductoNoPercedero> ProductoNoPercederos { get; set; }
public DbSet<Proveedor> Proveedores { get; set; } public DbSet<Proveedor> Proveedores { get; set; }
public DbSet<Remito> Remitos { get; set; } public DbSet<Remito> Remitos { get; set; }
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
{ // Esto de poner credenciales sueltas está mal {
optionsBuilder.UseSqlServer(@"Server=fedesrv.ddns.net,1433;Database=ControlStockDAS;User Id=ProyectoDas;Password=<IL-:aQI?TK{uRw:AU>A?5?~*=Gux'}JT0me,z5Cf^f(s'-gy[G#-jt%b&uHe+/,$Gl>qkXl-c[@&e(\.V?[3)\w|aMH+<GnkIo*99MNJ}:L=j<T,^$`8J\dXw6>^67x;Trusted_Connection=False;Encrypt=False;Connection Timeout=5;"); var homeDirectory = Environment.GetFolderPath(Environment.SpecialFolder.UserProfile);
// Definir la ruta completa del archivo SQLite en el directorio del usuario
var dbPath = System.IO.Path.Combine(homeDirectory, "app.db");
// Configurar SQLite con la ruta a la base de datos en el directorio del usuario
optionsBuilder.UseSqlite($"Data Source={dbPath}");
} }
protected override void OnModelCreating(ModelBuilder modelBuilder) protected override void OnModelCreating(ModelBuilder modelBuilder)
@@ -128,13 +134,15 @@ public class Context : Microsoft.EntityFrameworkCore.DbContext
j => j.HasOne<Categoria>().WithMany().HasForeignKey("CategoriaId"), j => j.HasOne<Categoria>().WithMany().HasForeignKey("CategoriaId"),
j => j.HasOne<Producto>().WithMany().HasForeignKey("ProductoId"), j => j.HasOne<Producto>().WithMany().HasForeignKey("ProductoId"),
j => j.HasKey("CategoriaId", "ProductoId")); j => j.HasKey("CategoriaId", "ProductoId"));
}); });
// Mapeo para ProductoNoPercedero // Mapeo para ProductoNoPercedero
modelBuilder.Entity<ProductoNoPercedero>(entity => modelBuilder.Entity<ProductoNoPercedero>(entity =>
{ {
entity.Property(e => e.TipoDeEnvase) entity.Property(e => e.TipoDeEnvase)
.HasConversion<string>(); .HasConversion<string>();
entity.Property(p => p.TipoDeEnvase)
.HasColumnType("TEXT");
}); });
modelBuilder.Entity<Proveedor>(entity => modelBuilder.Entity<Proveedor>(entity =>
@@ -164,7 +172,7 @@ public class Context : Microsoft.EntityFrameworkCore.DbContext
.HasKey(df => new { df.Id, df.IdOrdenDeCompra }); .HasKey(df => new { df.Id, df.IdOrdenDeCompra });
modelBuilder.Entity<OrdenDeCompra>() modelBuilder.Entity<OrdenDeCompra>()
.HasKey(x => x.Id); .HasKey(x => x.Id);
modelBuilder.Entity<OrdenDeCompra>() modelBuilder.Entity<OrdenDeCompra>()
.HasMany(x => x.detalles) .HasMany(x => x.detalles)

View File

@@ -0,0 +1,437 @@
using System;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace Modelo.Migrations
{
/// <inheritdoc />
public partial class mepaseasqlite : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "Categoria",
columns: table => new
{
Id = table.Column<int>(type: "INTEGER", nullable: false)
.Annotation("Sqlite:Autoincrement", true),
Descripcion = table.Column<string>(type: "TEXT", maxLength: 50, nullable: false)
},
constraints: table =>
{
table.PrimaryKey("PK_Categoria", x => x.Id);
});
migrationBuilder.CreateTable(
name: "Clientes",
columns: table => new
{
Cuit = table.Column<long>(type: "INTEGER", nullable: false),
Nombre = table.Column<string>(type: "TEXT", maxLength: 30, nullable: false),
Apellido = table.Column<string>(type: "TEXT", maxLength: 30, nullable: false),
Direccion = table.Column<string>(type: "TEXT", maxLength: 50, nullable: false),
Correo = table.Column<string>(type: "TEXT", maxLength: 150, nullable: false),
Habilitado = table.Column<bool>(type: "INTEGER", nullable: false, defaultValue: true)
},
constraints: table =>
{
table.PrimaryKey("PK_Clientes", x => x.Cuit);
});
migrationBuilder.CreateTable(
name: "Producto",
columns: table => new
{
Id = table.Column<int>(type: "INTEGER", nullable: false)
.Annotation("Sqlite:Autoincrement", true),
Nombre = table.Column<string>(type: "TEXT", maxLength: 30, nullable: false),
Precio = table.Column<double>(type: "float", nullable: false),
Habilitado = table.Column<bool>(type: "INTEGER", nullable: false, defaultValue: true),
EsPerecedero = table.Column<bool>(type: "INTEGER", nullable: false),
Discriminator = table.Column<string>(type: "TEXT", maxLength: 21, nullable: false),
TipoDeEnvase = table.Column<string>(type: "TEXT", nullable: true),
MesesHastaConsumoPreferente = table.Column<int>(type: "INTEGER", nullable: true),
MesesHastaVencimiento = table.Column<int>(type: "INTEGER", nullable: true)
},
constraints: table =>
{
table.PrimaryKey("PK_Producto", x => x.Id);
});
migrationBuilder.CreateTable(
name: "Proveedores",
columns: table => new
{
Cuit = table.Column<long>(type: "INTEGER", nullable: false),
Nombre = table.Column<string>(type: "TEXT", maxLength: 30, nullable: false),
RazonSocial = table.Column<string>(type: "TEXT", maxLength: 60, nullable: false),
Direccion = table.Column<string>(type: "TEXT", maxLength: 60, nullable: false),
Habilitado = table.Column<bool>(type: "INTEGER", nullable: false, defaultValue: true)
},
constraints: table =>
{
table.PrimaryKey("PK_Proveedores", x => x.Cuit);
});
migrationBuilder.CreateTable(
name: "Facturas",
columns: table => new
{
Id = table.Column<int>(type: "INTEGER", nullable: false)
.Annotation("Sqlite:Autoincrement", true),
Total = table.Column<double>(type: "REAL", nullable: false),
Fecha = table.Column<DateTime>(type: "TEXT", nullable: false),
IdCliente = table.Column<long>(type: "INTEGER", nullable: false),
ClienteCuit = table.Column<long>(type: "INTEGER", nullable: false)
},
constraints: table =>
{
table.PrimaryKey("PK_Facturas", x => x.Id);
table.ForeignKey(
name: "FK_Facturas_Clientes_ClienteCuit",
column: x => x.ClienteCuit,
principalTable: "Clientes",
principalColumn: "Cuit",
onDelete: ReferentialAction.Cascade);
});
migrationBuilder.CreateTable(
name: "ProductoCategoria",
columns: table => new
{
CategoriaId = table.Column<int>(type: "INTEGER", nullable: false),
ProductoId = table.Column<int>(type: "INTEGER", nullable: false)
},
constraints: table =>
{
table.PrimaryKey("PK_ProductoCategoria", x => new { x.CategoriaId, x.ProductoId });
table.ForeignKey(
name: "FK_ProductoCategoria_Categoria_CategoriaId",
column: x => x.CategoriaId,
principalTable: "Categoria",
principalColumn: "Id",
onDelete: ReferentialAction.Cascade);
table.ForeignKey(
name: "FK_ProductoCategoria_Producto_ProductoId",
column: x => x.ProductoId,
principalTable: "Producto",
principalColumn: "Id",
onDelete: ReferentialAction.Cascade);
});
migrationBuilder.CreateTable(
name: "OrdenDeCompras",
columns: table => new
{
Id = table.Column<int>(type: "INTEGER", nullable: false)
.Annotation("Sqlite:Autoincrement", true),
ProveedorCuit = table.Column<long>(type: "INTEGER", nullable: false),
IdProveedor = table.Column<long>(type: "INTEGER", nullable: false),
Entregado = table.Column<bool>(type: "INTEGER", nullable: false)
},
constraints: table =>
{
table.PrimaryKey("PK_OrdenDeCompras", x => x.Id);
table.ForeignKey(
name: "FK_OrdenDeCompras_Proveedores_ProveedorCuit",
column: x => x.ProveedorCuit,
principalTable: "Proveedores",
principalColumn: "Cuit",
onDelete: ReferentialAction.Cascade);
});
migrationBuilder.CreateTable(
name: "Presupuestos",
columns: table => new
{
Id = table.Column<int>(type: "INTEGER", nullable: false)
.Annotation("Sqlite:Autoincrement", true),
Fecha = table.Column<DateTime>(type: "TEXT", nullable: false),
Habilitado = table.Column<bool>(type: "INTEGER", nullable: false),
Aceptado = table.Column<bool>(type: "INTEGER", nullable: false),
ProveedorCuit = table.Column<long>(type: "INTEGER", nullable: false),
IdProveedor = table.Column<long>(type: "INTEGER", nullable: false)
},
constraints: table =>
{
table.PrimaryKey("PK_Presupuestos", x => x.Id);
table.ForeignKey(
name: "FK_Presupuestos_Proveedores_ProveedorCuit",
column: x => x.ProveedorCuit,
principalTable: "Proveedores",
principalColumn: "Cuit",
onDelete: ReferentialAction.Cascade);
});
migrationBuilder.CreateTable(
name: "ProductoProveedor",
columns: table => new
{
ProveedorId = table.Column<long>(type: "INTEGER", nullable: false),
ProductoId = table.Column<int>(type: "INTEGER", nullable: false)
},
constraints: table =>
{
table.PrimaryKey("PK_ProductoProveedor", x => new { x.ProveedorId, x.ProductoId });
table.ForeignKey(
name: "FK_ProductoProveedor_Producto_ProductoId",
column: x => x.ProductoId,
principalTable: "Producto",
principalColumn: "Id",
onDelete: ReferentialAction.Cascade);
table.ForeignKey(
name: "FK_ProductoProveedor_Proveedores_ProveedorId",
column: x => x.ProveedorId,
principalTable: "Proveedores",
principalColumn: "Cuit",
onDelete: ReferentialAction.Cascade);
});
migrationBuilder.CreateTable(
name: "Remitos",
columns: table => new
{
Id = table.Column<int>(type: "INTEGER", nullable: false)
.Annotation("Sqlite:Autoincrement", true),
ProveedorCuit = table.Column<long>(type: "INTEGER", nullable: false)
},
constraints: table =>
{
table.PrimaryKey("PK_Remitos", x => x.Id);
table.ForeignKey(
name: "FK_Remitos_Proveedores_ProveedorCuit",
column: x => x.ProveedorCuit,
principalTable: "Proveedores",
principalColumn: "Cuit",
onDelete: ReferentialAction.Cascade);
});
migrationBuilder.CreateTable(
name: "DetallesFacturas",
columns: table => new
{
Id = table.Column<int>(type: "INTEGER", nullable: false),
IdFactura = table.Column<int>(type: "INTEGER", nullable: false),
Cantidad = table.Column<int>(type: "INTEGER", nullable: false),
ProductoId = table.Column<int>(type: "INTEGER", nullable: false)
},
constraints: table =>
{
table.PrimaryKey("PK_DetallesFacturas", x => new { x.Id, x.IdFactura });
table.ForeignKey(
name: "FK_DetallesFacturas_Facturas_IdFactura",
column: x => x.IdFactura,
principalTable: "Facturas",
principalColumn: "Id",
onDelete: ReferentialAction.Cascade);
table.ForeignKey(
name: "FK_DetallesFacturas_Producto_ProductoId",
column: x => x.ProductoId,
principalTable: "Producto",
principalColumn: "Id",
onDelete: ReferentialAction.Cascade);
});
migrationBuilder.CreateTable(
name: "DetalleOrdenDeCompras",
columns: table => new
{
Id = table.Column<int>(type: "INTEGER", nullable: false),
IdOrdenDeCompra = table.Column<int>(type: "INTEGER", nullable: false),
MontoCU = table.Column<double>(type: "REAL", nullable: false),
IdPresupuesto = table.Column<int>(type: "INTEGER", nullable: false),
Cantidad = table.Column<int>(type: "INTEGER", nullable: false),
ProductoId = table.Column<int>(type: "INTEGER", nullable: false)
},
constraints: table =>
{
table.PrimaryKey("PK_DetalleOrdenDeCompras", x => new { x.Id, x.IdOrdenDeCompra });
table.ForeignKey(
name: "FK_DetalleOrdenDeCompras_OrdenDeCompras_IdOrdenDeCompra",
column: x => x.IdOrdenDeCompra,
principalTable: "OrdenDeCompras",
principalColumn: "Id",
onDelete: ReferentialAction.Cascade);
table.ForeignKey(
name: "FK_DetalleOrdenDeCompras_Producto_ProductoId",
column: x => x.ProductoId,
principalTable: "Producto",
principalColumn: "Id",
onDelete: ReferentialAction.Cascade);
});
migrationBuilder.CreateTable(
name: "DetallePresupuestos",
columns: table => new
{
Id = table.Column<int>(type: "INTEGER", nullable: false),
IdPresupuesto = table.Column<int>(type: "INTEGER", nullable: false),
MontoCUPropuesto = table.Column<double>(type: "REAL", nullable: false),
Cantidad = table.Column<int>(type: "INTEGER", nullable: false),
ProductoId = table.Column<int>(type: "INTEGER", nullable: false)
},
constraints: table =>
{
table.PrimaryKey("PK_DetallePresupuestos", x => new { x.Id, x.IdPresupuesto });
table.ForeignKey(
name: "FK_DetallePresupuestos_Presupuestos_IdPresupuesto",
column: x => x.IdPresupuesto,
principalTable: "Presupuestos",
principalColumn: "Id",
onDelete: ReferentialAction.Cascade);
table.ForeignKey(
name: "FK_DetallePresupuestos_Producto_ProductoId",
column: x => x.ProductoId,
principalTable: "Producto",
principalColumn: "Id",
onDelete: ReferentialAction.Cascade);
});
migrationBuilder.CreateTable(
name: "Lotes",
columns: table => new
{
Id = table.Column<int>(type: "INTEGER", nullable: false),
IdRemito = table.Column<int>(type: "INTEGER", nullable: false),
Fecha = table.Column<DateTime>(type: "TEXT", nullable: false),
Habilitado = table.Column<bool>(type: "INTEGER", nullable: false),
Cantidad = table.Column<int>(type: "INTEGER", nullable: false),
ProductoId = table.Column<int>(type: "INTEGER", nullable: false)
},
constraints: table =>
{
table.PrimaryKey("PK_Lotes", x => new { x.Id, x.IdRemito });
table.ForeignKey(
name: "FK_Lotes_Producto_ProductoId",
column: x => x.ProductoId,
principalTable: "Producto",
principalColumn: "Id",
onDelete: ReferentialAction.Cascade);
table.ForeignKey(
name: "FK_Lotes_Remitos_IdRemito",
column: x => x.IdRemito,
principalTable: "Remitos",
principalColumn: "Id",
onDelete: ReferentialAction.Cascade);
});
migrationBuilder.CreateIndex(
name: "IX_DetalleOrdenDeCompras_IdOrdenDeCompra",
table: "DetalleOrdenDeCompras",
column: "IdOrdenDeCompra");
migrationBuilder.CreateIndex(
name: "IX_DetalleOrdenDeCompras_ProductoId",
table: "DetalleOrdenDeCompras",
column: "ProductoId");
migrationBuilder.CreateIndex(
name: "IX_DetallePresupuestos_IdPresupuesto",
table: "DetallePresupuestos",
column: "IdPresupuesto");
migrationBuilder.CreateIndex(
name: "IX_DetallePresupuestos_ProductoId",
table: "DetallePresupuestos",
column: "ProductoId");
migrationBuilder.CreateIndex(
name: "IX_DetallesFacturas_IdFactura",
table: "DetallesFacturas",
column: "IdFactura");
migrationBuilder.CreateIndex(
name: "IX_DetallesFacturas_ProductoId",
table: "DetallesFacturas",
column: "ProductoId");
migrationBuilder.CreateIndex(
name: "IX_Facturas_ClienteCuit",
table: "Facturas",
column: "ClienteCuit");
migrationBuilder.CreateIndex(
name: "IX_Lotes_IdRemito",
table: "Lotes",
column: "IdRemito");
migrationBuilder.CreateIndex(
name: "IX_Lotes_ProductoId",
table: "Lotes",
column: "ProductoId");
migrationBuilder.CreateIndex(
name: "IX_OrdenDeCompras_ProveedorCuit",
table: "OrdenDeCompras",
column: "ProveedorCuit");
migrationBuilder.CreateIndex(
name: "IX_Presupuestos_ProveedorCuit",
table: "Presupuestos",
column: "ProveedorCuit");
migrationBuilder.CreateIndex(
name: "IX_ProductoCategoria_ProductoId",
table: "ProductoCategoria",
column: "ProductoId");
migrationBuilder.CreateIndex(
name: "IX_ProductoProveedor_ProductoId",
table: "ProductoProveedor",
column: "ProductoId");
migrationBuilder.CreateIndex(
name: "IX_Remitos_ProveedorCuit",
table: "Remitos",
column: "ProveedorCuit");
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropTable(
name: "DetalleOrdenDeCompras");
migrationBuilder.DropTable(
name: "DetallePresupuestos");
migrationBuilder.DropTable(
name: "DetallesFacturas");
migrationBuilder.DropTable(
name: "Lotes");
migrationBuilder.DropTable(
name: "ProductoCategoria");
migrationBuilder.DropTable(
name: "ProductoProveedor");
migrationBuilder.DropTable(
name: "OrdenDeCompras");
migrationBuilder.DropTable(
name: "Presupuestos");
migrationBuilder.DropTable(
name: "Facturas");
migrationBuilder.DropTable(
name: "Remitos");
migrationBuilder.DropTable(
name: "Categoria");
migrationBuilder.DropTable(
name: "Producto");
migrationBuilder.DropTable(
name: "Clientes");
migrationBuilder.DropTable(
name: "Proveedores");
}
}
}

View File

@@ -0,0 +1,556 @@
// <auto-generated />
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using Modelo;
#nullable disable
namespace Modelo.Migrations
{
[DbContext(typeof(Context))]
[Migration("20240908172708_Cambie_nombre_de_key2")]
partial class Cambie_nombre_de_key2
{
/// <inheritdoc />
protected override void BuildTargetModel(ModelBuilder modelBuilder)
{
#pragma warning disable 612, 618
modelBuilder.HasAnnotation("ProductVersion", "8.0.8");
modelBuilder.Entity("Entidades.Categoria", b =>
{
b.Property<int>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property<string>("Descripcion")
.IsRequired()
.HasMaxLength(50)
.HasColumnType("TEXT");
b.HasKey("Id");
b.ToTable("Categoria", (string)null);
});
modelBuilder.Entity("Entidades.Cliente", b =>
{
b.Property<long>("Cuit")
.HasColumnType("INTEGER");
b.Property<string>("Apellido")
.IsRequired()
.HasMaxLength(30)
.HasColumnType("TEXT");
b.Property<string>("Correo")
.IsRequired()
.HasMaxLength(150)
.HasColumnType("TEXT");
b.Property<string>("Direccion")
.IsRequired()
.HasMaxLength(50)
.HasColumnType("TEXT");
b.Property<bool>("Habilitado")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER")
.HasDefaultValue(true);
b.Property<string>("Nombre")
.IsRequired()
.HasMaxLength(30)
.HasColumnType("TEXT");
b.HasKey("Cuit");
b.ToTable("Clientes", (string)null);
});
modelBuilder.Entity("Entidades.DetalleFactura", b =>
{
b.Property<int>("Id")
.HasColumnType("INTEGER");
b.Property<int>("IdFactura")
.HasColumnType("INTEGER");
b.Property<int>("Cantidad")
.HasColumnType("INTEGER");
b.Property<int>("ProductoId")
.HasColumnType("INTEGER");
b.HasKey("Id", "IdFactura");
b.HasIndex("IdFactura");
b.HasIndex("ProductoId");
b.ToTable("DetallesFacturas", (string)null);
});
modelBuilder.Entity("Entidades.DetalleOrdenDeCompra", b =>
{
b.Property<int>("Id")
.HasColumnType("INTEGER");
b.Property<int>("IdOrdenDeCompra")
.HasColumnType("INTEGER");
b.Property<int>("Cantidad")
.HasColumnType("INTEGER");
b.Property<int>("IdPresupuesto")
.HasColumnType("INTEGER");
b.Property<double>("MontoCU")
.HasColumnType("REAL");
b.Property<int>("ProductoId")
.HasColumnType("INTEGER");
b.HasKey("Id", "IdOrdenDeCompra");
b.HasIndex("IdOrdenDeCompra");
b.HasIndex("ProductoId");
b.ToTable("DetalleOrdenDeCompras");
});
modelBuilder.Entity("Entidades.DetallePresupuesto", b =>
{
b.Property<int>("Id")
.HasColumnType("INTEGER");
b.Property<int>("IdPresupuesto")
.HasColumnType("INTEGER");
b.Property<int>("Cantidad")
.HasColumnType("INTEGER");
b.Property<double>("MontoCUPropuesto")
.HasColumnType("REAL");
b.Property<int>("ProductoId")
.HasColumnType("INTEGER");
b.HasKey("Id", "IdPresupuesto");
b.HasIndex("IdPresupuesto");
b.HasIndex("ProductoId");
b.ToTable("DetallePresupuestos");
});
modelBuilder.Entity("Entidades.Factura", b =>
{
b.Property<int>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property<long>("ClienteCuit")
.HasColumnType("INTEGER");
b.Property<DateTime>("Fecha")
.HasColumnType("TEXT");
b.Property<long>("IdCliente")
.HasColumnType("INTEGER");
b.Property<double>("Total")
.HasColumnType("REAL");
b.HasKey("Id");
b.HasIndex("ClienteCuit");
b.ToTable("Facturas", (string)null);
});
modelBuilder.Entity("Entidades.Lote", b =>
{
b.Property<int>("Id")
.HasColumnType("INTEGER");
b.Property<int>("IdRemito")
.HasColumnType("INTEGER");
b.Property<int>("Cantidad")
.HasColumnType("INTEGER");
b.Property<DateTime>("Fecha")
.HasColumnType("TEXT");
b.Property<bool>("Habilitado")
.HasColumnType("INTEGER");
b.Property<int>("ProductoId")
.HasColumnType("INTEGER");
b.HasKey("Id", "IdRemito");
b.HasIndex("IdRemito");
b.HasIndex("ProductoId");
b.ToTable("Lotes");
});
modelBuilder.Entity("Entidades.OrdenDeCompra", b =>
{
b.Property<int>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property<bool>("Entregado")
.HasColumnType("INTEGER");
b.Property<long>("IdProveedor")
.HasColumnType("INTEGER");
b.Property<long>("ProveedorCuit")
.HasColumnType("INTEGER");
b.HasKey("Id");
b.HasIndex("ProveedorCuit");
b.ToTable("OrdenDeCompras");
});
modelBuilder.Entity("Entidades.Presupuesto", b =>
{
b.Property<int>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property<bool>("Aceptado")
.HasColumnType("INTEGER");
b.Property<DateTime>("Fecha")
.HasColumnType("TEXT");
b.Property<bool>("Habilitado")
.HasColumnType("INTEGER");
b.Property<long>("IdProveedor")
.HasColumnType("INTEGER");
b.Property<long>("ProveedorCuit")
.HasColumnType("INTEGER");
b.HasKey("Id");
b.HasIndex("ProveedorCuit");
b.ToTable("Presupuestos");
});
modelBuilder.Entity("Entidades.Producto", b =>
{
b.Property<int>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property<string>("Discriminator")
.IsRequired()
.HasMaxLength(21)
.HasColumnType("TEXT");
b.Property<bool>("EsPerecedero")
.HasColumnType("INTEGER");
b.Property<bool>("Habilitado")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER")
.HasDefaultValue(true);
b.Property<string>("Nombre")
.IsRequired()
.HasMaxLength(30)
.HasColumnType("TEXT");
b.Property<double>("Precio")
.HasColumnType("float");
b.HasKey("Id");
b.ToTable("Producto");
b.HasDiscriminator().HasValue("Producto");
b.UseTphMappingStrategy();
});
modelBuilder.Entity("Entidades.Proveedor", b =>
{
b.Property<long>("Cuit")
.HasColumnType("INTEGER");
b.Property<string>("Direccion")
.IsRequired()
.HasMaxLength(60)
.HasColumnType("TEXT");
b.Property<bool>("Habilitado")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER")
.HasDefaultValue(true);
b.Property<string>("Nombre")
.IsRequired()
.HasMaxLength(30)
.HasColumnType("TEXT");
b.Property<string>("RazonSocial")
.IsRequired()
.HasMaxLength(60)
.HasColumnType("TEXT");
b.HasKey("Cuit");
b.ToTable("Proveedores");
});
modelBuilder.Entity("Entidades.Remito", b =>
{
b.Property<int>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property<long>("ProveedorCuit")
.HasColumnType("INTEGER");
b.HasKey("Id");
b.HasIndex("ProveedorCuit");
b.ToTable("Remitos");
});
modelBuilder.Entity("ProductoCategoria", b =>
{
b.Property<int>("CategoriaId")
.HasColumnType("INTEGER");
b.Property<int>("ProductoId")
.HasColumnType("INTEGER");
b.HasKey("CategoriaId", "ProductoId");
b.HasIndex("ProductoId");
b.ToTable("ProductoCategoria");
});
modelBuilder.Entity("ProductoProveedor", b =>
{
b.Property<long>("ProveedorId")
.HasColumnType("INTEGER");
b.Property<int>("ProductoId")
.HasColumnType("INTEGER");
b.HasKey("ProveedorId", "ProductoId");
b.HasIndex("ProductoId");
b.ToTable("ProductoProveedor");
});
modelBuilder.Entity("Entidades.ProductoNoPercedero", b =>
{
b.HasBaseType("Entidades.Producto");
b.Property<string>("TipoDeEnvase")
.IsRequired()
.HasColumnType("TEXT");
b.HasDiscriminator().HasValue("ProductoNoPercedero");
});
modelBuilder.Entity("Entidades.ProductoPercedero", b =>
{
b.HasBaseType("Entidades.Producto");
b.Property<int>("MesesHastaConsumoPreferente")
.HasColumnType("INTEGER");
b.Property<int>("MesesHastaVencimiento")
.HasColumnType("INTEGER");
b.HasDiscriminator().HasValue("ProductoPercedero");
});
modelBuilder.Entity("Entidades.DetalleFactura", b =>
{
b.HasOne("Entidades.Factura", null)
.WithMany("Detalles")
.HasForeignKey("IdFactura")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.HasOne("Entidades.Producto", "Producto")
.WithMany()
.HasForeignKey("ProductoId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.Navigation("Producto");
});
modelBuilder.Entity("Entidades.DetalleOrdenDeCompra", b =>
{
b.HasOne("Entidades.OrdenDeCompra", null)
.WithMany("detalles")
.HasForeignKey("IdOrdenDeCompra")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.HasOne("Entidades.Producto", "Producto")
.WithMany()
.HasForeignKey("ProductoId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.Navigation("Producto");
});
modelBuilder.Entity("Entidades.DetallePresupuesto", b =>
{
b.HasOne("Entidades.Presupuesto", null)
.WithMany("detalles")
.HasForeignKey("IdPresupuesto")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.HasOne("Entidades.Producto", "Producto")
.WithMany()
.HasForeignKey("ProductoId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.Navigation("Producto");
});
modelBuilder.Entity("Entidades.Factura", b =>
{
b.HasOne("Entidades.Cliente", "Cliente")
.WithMany()
.HasForeignKey("ClienteCuit")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.Navigation("Cliente");
});
modelBuilder.Entity("Entidades.Lote", b =>
{
b.HasOne("Entidades.Remito", null)
.WithMany("Lotes")
.HasForeignKey("IdRemito")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.HasOne("Entidades.Producto", "Producto")
.WithMany()
.HasForeignKey("ProductoId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.Navigation("Producto");
});
modelBuilder.Entity("Entidades.OrdenDeCompra", b =>
{
b.HasOne("Entidades.Proveedor", "Proveedor")
.WithMany()
.HasForeignKey("ProveedorCuit")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.Navigation("Proveedor");
});
modelBuilder.Entity("Entidades.Presupuesto", b =>
{
b.HasOne("Entidades.Proveedor", "Proveedor")
.WithMany()
.HasForeignKey("ProveedorCuit")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.Navigation("Proveedor");
});
modelBuilder.Entity("Entidades.Remito", b =>
{
b.HasOne("Entidades.Proveedor", "Proveedor")
.WithMany()
.HasForeignKey("ProveedorCuit")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.Navigation("Proveedor");
});
modelBuilder.Entity("ProductoCategoria", b =>
{
b.HasOne("Entidades.Categoria", null)
.WithMany()
.HasForeignKey("CategoriaId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.HasOne("Entidades.Producto", null)
.WithMany()
.HasForeignKey("ProductoId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
});
modelBuilder.Entity("ProductoProveedor", b =>
{
b.HasOne("Entidades.Producto", null)
.WithMany()
.HasForeignKey("ProductoId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.HasOne("Entidades.Proveedor", null)
.WithMany()
.HasForeignKey("ProveedorId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
});
modelBuilder.Entity("Entidades.Factura", b =>
{
b.Navigation("Detalles");
});
modelBuilder.Entity("Entidades.OrdenDeCompra", b =>
{
b.Navigation("detalles");
});
modelBuilder.Entity("Entidades.Presupuesto", b =>
{
b.Navigation("detalles");
});
modelBuilder.Entity("Entidades.Remito", b =>
{
b.Navigation("Lotes");
});
#pragma warning restore 612, 618
}
}
}

View File

@@ -0,0 +1,437 @@
using System;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace Modelo.Migrations
{
/// <inheritdoc />
public partial class Cambie_nombre_de_key2 : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "Categoria",
columns: table => new
{
Id = table.Column<int>(type: "INTEGER", nullable: false)
.Annotation("Sqlite:Autoincrement", true),
Descripcion = table.Column<string>(type: "TEXT", maxLength: 50, nullable: false)
},
constraints: table =>
{
table.PrimaryKey("PK_Categoria", x => x.Id);
});
migrationBuilder.CreateTable(
name: "Clientes",
columns: table => new
{
Cuit = table.Column<long>(type: "INTEGER", nullable: false),
Nombre = table.Column<string>(type: "TEXT", maxLength: 30, nullable: false),
Apellido = table.Column<string>(type: "TEXT", maxLength: 30, nullable: false),
Direccion = table.Column<string>(type: "TEXT", maxLength: 50, nullable: false),
Correo = table.Column<string>(type: "TEXT", maxLength: 150, nullable: false),
Habilitado = table.Column<bool>(type: "INTEGER", nullable: false, defaultValue: true)
},
constraints: table =>
{
table.PrimaryKey("PK_Clientes", x => x.Cuit);
});
migrationBuilder.CreateTable(
name: "Producto",
columns: table => new
{
Id = table.Column<int>(type: "INTEGER", nullable: false)
.Annotation("Sqlite:Autoincrement", true),
Nombre = table.Column<string>(type: "TEXT", maxLength: 30, nullable: false),
Precio = table.Column<double>(type: "float", nullable: false),
Habilitado = table.Column<bool>(type: "INTEGER", nullable: false, defaultValue: true),
EsPerecedero = table.Column<bool>(type: "INTEGER", nullable: false),
Discriminator = table.Column<string>(type: "TEXT", maxLength: 21, nullable: false),
TipoDeEnvase = table.Column<string>(type: "TEXT", nullable: true),
MesesHastaConsumoPreferente = table.Column<int>(type: "INTEGER", nullable: true),
MesesHastaVencimiento = table.Column<int>(type: "INTEGER", nullable: true)
},
constraints: table =>
{
table.PrimaryKey("PK_Producto", x => x.Id);
});
migrationBuilder.CreateTable(
name: "Proveedores",
columns: table => new
{
Cuit = table.Column<long>(type: "INTEGER", nullable: false),
Nombre = table.Column<string>(type: "TEXT", maxLength: 30, nullable: false),
RazonSocial = table.Column<string>(type: "TEXT", maxLength: 60, nullable: false),
Direccion = table.Column<string>(type: "TEXT", maxLength: 60, nullable: false),
Habilitado = table.Column<bool>(type: "INTEGER", nullable: false, defaultValue: true)
},
constraints: table =>
{
table.PrimaryKey("PK_Proveedores", x => x.Cuit);
});
migrationBuilder.CreateTable(
name: "Facturas",
columns: table => new
{
Id = table.Column<int>(type: "INTEGER", nullable: false)
.Annotation("Sqlite:Autoincrement", true),
Total = table.Column<double>(type: "REAL", nullable: false),
Fecha = table.Column<DateTime>(type: "TEXT", nullable: false),
IdCliente = table.Column<long>(type: "INTEGER", nullable: false),
ClienteCuit = table.Column<long>(type: "INTEGER", nullable: false)
},
constraints: table =>
{
table.PrimaryKey("PK_Facturas", x => x.Id);
table.ForeignKey(
name: "FK_Facturas_Clientes_ClienteCuit",
column: x => x.ClienteCuit,
principalTable: "Clientes",
principalColumn: "Cuit",
onDelete: ReferentialAction.Cascade);
});
migrationBuilder.CreateTable(
name: "ProductoCategoria",
columns: table => new
{
CategoriaId = table.Column<int>(type: "INTEGER", nullable: false),
ProductoId = table.Column<int>(type: "INTEGER", nullable: false)
},
constraints: table =>
{
table.PrimaryKey("PK_ProductoCategoria", x => new { x.CategoriaId, x.ProductoId });
table.ForeignKey(
name: "FK_ProductoCategoria_Categoria_CategoriaId",
column: x => x.CategoriaId,
principalTable: "Categoria",
principalColumn: "Id",
onDelete: ReferentialAction.Cascade);
table.ForeignKey(
name: "FK_ProductoCategoria_Producto_ProductoId",
column: x => x.ProductoId,
principalTable: "Producto",
principalColumn: "Id",
onDelete: ReferentialAction.Cascade);
});
migrationBuilder.CreateTable(
name: "OrdenDeCompras",
columns: table => new
{
Id = table.Column<int>(type: "INTEGER", nullable: false)
.Annotation("Sqlite:Autoincrement", true),
ProveedorCuit = table.Column<long>(type: "INTEGER", nullable: false),
IdProveedor = table.Column<long>(type: "INTEGER", nullable: false),
Entregado = table.Column<bool>(type: "INTEGER", nullable: false)
},
constraints: table =>
{
table.PrimaryKey("PK_OrdenDeCompras", x => x.Id);
table.ForeignKey(
name: "FK_OrdenDeCompras_Proveedores_ProveedorCuit",
column: x => x.ProveedorCuit,
principalTable: "Proveedores",
principalColumn: "Cuit",
onDelete: ReferentialAction.Cascade);
});
migrationBuilder.CreateTable(
name: "Presupuestos",
columns: table => new
{
Id = table.Column<int>(type: "INTEGER", nullable: false)
.Annotation("Sqlite:Autoincrement", true),
Fecha = table.Column<DateTime>(type: "TEXT", nullable: false),
Habilitado = table.Column<bool>(type: "INTEGER", nullable: false),
Aceptado = table.Column<bool>(type: "INTEGER", nullable: false),
ProveedorCuit = table.Column<long>(type: "INTEGER", nullable: false),
IdProveedor = table.Column<long>(type: "INTEGER", nullable: false)
},
constraints: table =>
{
table.PrimaryKey("PK_Presupuestos", x => x.Id);
table.ForeignKey(
name: "FK_Presupuestos_Proveedores_ProveedorCuit",
column: x => x.ProveedorCuit,
principalTable: "Proveedores",
principalColumn: "Cuit",
onDelete: ReferentialAction.Cascade);
});
migrationBuilder.CreateTable(
name: "ProductoProveedor",
columns: table => new
{
ProveedorId = table.Column<long>(type: "INTEGER", nullable: false),
ProductoId = table.Column<int>(type: "INTEGER", nullable: false)
},
constraints: table =>
{
table.PrimaryKey("PK_ProductoProveedor", x => new { x.ProveedorId, x.ProductoId });
table.ForeignKey(
name: "FK_ProductoProveedor_Producto_ProductoId",
column: x => x.ProductoId,
principalTable: "Producto",
principalColumn: "Id",
onDelete: ReferentialAction.Cascade);
table.ForeignKey(
name: "FK_ProductoProveedor_Proveedores_ProveedorId",
column: x => x.ProveedorId,
principalTable: "Proveedores",
principalColumn: "Cuit",
onDelete: ReferentialAction.Cascade);
});
migrationBuilder.CreateTable(
name: "Remitos",
columns: table => new
{
Id = table.Column<int>(type: "INTEGER", nullable: false)
.Annotation("Sqlite:Autoincrement", true),
ProveedorCuit = table.Column<long>(type: "INTEGER", nullable: false)
},
constraints: table =>
{
table.PrimaryKey("PK_Remitos", x => x.Id);
table.ForeignKey(
name: "FK_Remitos_Proveedores_ProveedorCuit",
column: x => x.ProveedorCuit,
principalTable: "Proveedores",
principalColumn: "Cuit",
onDelete: ReferentialAction.Cascade);
});
migrationBuilder.CreateTable(
name: "DetallesFacturas",
columns: table => new
{
Id = table.Column<int>(type: "INTEGER", nullable: false),
IdFactura = table.Column<int>(type: "INTEGER", nullable: false),
Cantidad = table.Column<int>(type: "INTEGER", nullable: false),
ProductoId = table.Column<int>(type: "INTEGER", nullable: false)
},
constraints: table =>
{
table.PrimaryKey("PK_DetallesFacturas", x => new { x.Id, x.IdFactura });
table.ForeignKey(
name: "FK_DetallesFacturas_Facturas_IdFactura",
column: x => x.IdFactura,
principalTable: "Facturas",
principalColumn: "Id",
onDelete: ReferentialAction.Cascade);
table.ForeignKey(
name: "FK_DetallesFacturas_Producto_ProductoId",
column: x => x.ProductoId,
principalTable: "Producto",
principalColumn: "Id",
onDelete: ReferentialAction.Cascade);
});
migrationBuilder.CreateTable(
name: "DetalleOrdenDeCompras",
columns: table => new
{
Id = table.Column<int>(type: "INTEGER", nullable: false),
IdOrdenDeCompra = table.Column<int>(type: "INTEGER", nullable: false),
MontoCU = table.Column<double>(type: "REAL", nullable: false),
IdPresupuesto = table.Column<int>(type: "INTEGER", nullable: false),
Cantidad = table.Column<int>(type: "INTEGER", nullable: false),
ProductoId = table.Column<int>(type: "INTEGER", nullable: false)
},
constraints: table =>
{
table.PrimaryKey("PK_DetalleOrdenDeCompras", x => new { x.Id, x.IdOrdenDeCompra });
table.ForeignKey(
name: "FK_DetalleOrdenDeCompras_OrdenDeCompras_IdOrdenDeCompra",
column: x => x.IdOrdenDeCompra,
principalTable: "OrdenDeCompras",
principalColumn: "Id",
onDelete: ReferentialAction.Cascade);
table.ForeignKey(
name: "FK_DetalleOrdenDeCompras_Producto_ProductoId",
column: x => x.ProductoId,
principalTable: "Producto",
principalColumn: "Id",
onDelete: ReferentialAction.Cascade);
});
migrationBuilder.CreateTable(
name: "DetallePresupuestos",
columns: table => new
{
Id = table.Column<int>(type: "INTEGER", nullable: false),
IdPresupuesto = table.Column<int>(type: "INTEGER", nullable: false),
MontoCUPropuesto = table.Column<double>(type: "REAL", nullable: false),
Cantidad = table.Column<int>(type: "INTEGER", nullable: false),
ProductoId = table.Column<int>(type: "INTEGER", nullable: false)
},
constraints: table =>
{
table.PrimaryKey("PK_DetallePresupuestos", x => new { x.Id, x.IdPresupuesto });
table.ForeignKey(
name: "FK_DetallePresupuestos_Presupuestos_IdPresupuesto",
column: x => x.IdPresupuesto,
principalTable: "Presupuestos",
principalColumn: "Id",
onDelete: ReferentialAction.Cascade);
table.ForeignKey(
name: "FK_DetallePresupuestos_Producto_ProductoId",
column: x => x.ProductoId,
principalTable: "Producto",
principalColumn: "Id",
onDelete: ReferentialAction.Cascade);
});
migrationBuilder.CreateTable(
name: "Lotes",
columns: table => new
{
Id = table.Column<int>(type: "INTEGER", nullable: false),
IdRemito = table.Column<int>(type: "INTEGER", nullable: false),
Fecha = table.Column<DateTime>(type: "TEXT", nullable: false),
Habilitado = table.Column<bool>(type: "INTEGER", nullable: false),
Cantidad = table.Column<int>(type: "INTEGER", nullable: false),
ProductoId = table.Column<int>(type: "INTEGER", nullable: false)
},
constraints: table =>
{
table.PrimaryKey("PK_Lotes", x => new { x.Id, x.IdRemito });
table.ForeignKey(
name: "FK_Lotes_Producto_ProductoId",
column: x => x.ProductoId,
principalTable: "Producto",
principalColumn: "Id",
onDelete: ReferentialAction.Cascade);
table.ForeignKey(
name: "FK_Lotes_Remitos_IdRemito",
column: x => x.IdRemito,
principalTable: "Remitos",
principalColumn: "Id",
onDelete: ReferentialAction.Cascade);
});
migrationBuilder.CreateIndex(
name: "IX_DetalleOrdenDeCompras_IdOrdenDeCompra",
table: "DetalleOrdenDeCompras",
column: "IdOrdenDeCompra");
migrationBuilder.CreateIndex(
name: "IX_DetalleOrdenDeCompras_ProductoId",
table: "DetalleOrdenDeCompras",
column: "ProductoId");
migrationBuilder.CreateIndex(
name: "IX_DetallePresupuestos_IdPresupuesto",
table: "DetallePresupuestos",
column: "IdPresupuesto");
migrationBuilder.CreateIndex(
name: "IX_DetallePresupuestos_ProductoId",
table: "DetallePresupuestos",
column: "ProductoId");
migrationBuilder.CreateIndex(
name: "IX_DetallesFacturas_IdFactura",
table: "DetallesFacturas",
column: "IdFactura");
migrationBuilder.CreateIndex(
name: "IX_DetallesFacturas_ProductoId",
table: "DetallesFacturas",
column: "ProductoId");
migrationBuilder.CreateIndex(
name: "IX_Facturas_ClienteCuit",
table: "Facturas",
column: "ClienteCuit");
migrationBuilder.CreateIndex(
name: "IX_Lotes_IdRemito",
table: "Lotes",
column: "IdRemito");
migrationBuilder.CreateIndex(
name: "IX_Lotes_ProductoId",
table: "Lotes",
column: "ProductoId");
migrationBuilder.CreateIndex(
name: "IX_OrdenDeCompras_ProveedorCuit",
table: "OrdenDeCompras",
column: "ProveedorCuit");
migrationBuilder.CreateIndex(
name: "IX_Presupuestos_ProveedorCuit",
table: "Presupuestos",
column: "ProveedorCuit");
migrationBuilder.CreateIndex(
name: "IX_ProductoCategoria_ProductoId",
table: "ProductoCategoria",
column: "ProductoId");
migrationBuilder.CreateIndex(
name: "IX_ProductoProveedor_ProductoId",
table: "ProductoProveedor",
column: "ProductoId");
migrationBuilder.CreateIndex(
name: "IX_Remitos_ProveedorCuit",
table: "Remitos",
column: "ProveedorCuit");
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropTable(
name: "DetalleOrdenDeCompras");
migrationBuilder.DropTable(
name: "DetallePresupuestos");
migrationBuilder.DropTable(
name: "DetallesFacturas");
migrationBuilder.DropTable(
name: "Lotes");
migrationBuilder.DropTable(
name: "ProductoCategoria");
migrationBuilder.DropTable(
name: "ProductoProveedor");
migrationBuilder.DropTable(
name: "OrdenDeCompras");
migrationBuilder.DropTable(
name: "Presupuestos");
migrationBuilder.DropTable(
name: "Facturas");
migrationBuilder.DropTable(
name: "Remitos");
migrationBuilder.DropTable(
name: "Categoria");
migrationBuilder.DropTable(
name: "Producto");
migrationBuilder.DropTable(
name: "Clientes");
migrationBuilder.DropTable(
name: "Proveedores");
}
}
}

View File

@@ -1,7 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<ItemGroup> <ItemGroup>
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="8.0.8" /> <PackageReference Include="Microsoft.EntityFrameworkCore" Version="8.0.8" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="8.0.8" />
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="8.0.8" /> <PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="8.0.8" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="8.0.8"> <PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="8.0.8">
<PrivateAssets>all</PrivateAssets> <PrivateAssets>all</PrivateAssets>

View File

@@ -26,15 +26,19 @@ namespace Modelo
} }
public void Add(Remito rem) public void Add(Remito rem)
{ {
if (rem.Lotes.Count <= 0) return;
foreach (var detalle in rem.Lotes) foreach (var detalle in rem.Lotes)
{ {
detalle.IdRemito = rem.Id;
Add(detalle); Add(detalle);
} }
} }
public override void Add(Lote t) public override void Add(Lote t)
{ {
t.Producto = (t.Producto.EsPerecedero) ?
context.ProductoPercederos.First(x => x.Id == t.Producto.Id) :
context.ProductoNoPercederos.First(x => x.Id == t.Producto.Id);
context.Lotes.Add(t); context.Lotes.Add(t);
Guardar();
} }
public override void Del(Lote t) public override void Del(Lote t)

View File

@@ -49,6 +49,15 @@ namespace Modelo
public override void Mod(OrdenDeCompra t) public override void Mod(OrdenDeCompra t)
{ {
t.Proveedor = context.Proveedores.First(x => x.Cuit == t.Proveedor.Cuit);
foreach (var detalle in t.detalles)
{
detalle.Producto = (detalle.Producto.EsPerecedero) ?
context.ProductoPercederos.First(x => x.Id == detalle.Producto.Id) :
context.ProductoNoPercederos.First(x => x.Id == detalle.Producto.Id);
}
context.OrdenDeCompras.Update(t); context.OrdenDeCompras.Update(t);
} }

View File

@@ -32,12 +32,17 @@ namespace Modelo
public override void Add(ProductoNoPercedero t) public override void Add(ProductoNoPercedero t)
{ {
foreach (var prov in t.proveedores) var listcat = t.categorias.ToList();
var listpro = t.proveedores.ToList();
t.categorias.Clear();
t.proveedores.Clear();
foreach (var prov in listpro)
{ {
var prove = context.Proveedores.First(x => x.Cuit == prov.Cuit); var prove = context.Proveedores.First(x => x.Cuit == prov.Cuit);
t.proveedores.Add(prove); t.proveedores.Add(prove);
} }
foreach (var categoria in t.categorias) foreach (var categoria in listcat)
{ {
var cat = context.Categorias.First(x => x.Id == categoria.Id); var cat = context.Categorias.First(x => x.Id == categoria.Id);
t.categorias.Add(cat); t.categorias.Add(cat);

View File

@@ -27,12 +27,17 @@ namespace Modelo
public override void Add(ProductoPercedero t) public override void Add(ProductoPercedero t)
{ {
foreach (var prov in t.proveedores) var listcat = t.categorias.ToList();
var listpro = t.proveedores.ToList();
t.categorias.Clear();
t.proveedores.Clear();
foreach (var prov in listpro)
{ {
var prove = context.Proveedores.First(x => x.Cuit == prov.Cuit); var prove = context.Proveedores.First(x => x.Cuit == prov.Cuit);
t.proveedores.Add(prove); t.proveedores.Add(prove);
} }
foreach (var categoria in t.categorias) foreach (var categoria in listcat)
{ {
var cat = context.Categorias.First(x => x.Id == categoria.Id); var cat = context.Categorias.First(x => x.Id == categoria.Id);
t.categorias.Add(cat); t.categorias.Add(cat);

View File

@@ -30,6 +30,8 @@ namespace Modelo
public override void Add(Remito t) public override void Add(Remito t)
{ {
t.Lotes = context.Lotes.Where(x => x.IdRemito == t.Id).ToList();
t.Proveedor = context.Proveedores.First(x => x.Cuit == t.Proveedor.Cuit);
context.Remitos.Add(t); context.Remitos.Add(t);
} }

View File

@@ -119,6 +119,10 @@
"target": "Package", "target": "Package",
"version": "[8.0.8, )" "version": "[8.0.8, )"
}, },
"Microsoft.EntityFrameworkCore.Sqlite": {
"target": "Package",
"version": "[8.0.8, )"
},
"Microsoft.EntityFrameworkCore.Tools": { "Microsoft.EntityFrameworkCore.Tools": {
"include": "Runtime, Build, Native, ContentFiles, Analyzers, BuildTransitive", "include": "Runtime, Build, Native, ContentFiles, Analyzers, BuildTransitive",
"suppressParent": "All", "suppressParent": "All",

View File

@@ -2,6 +2,7 @@
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' "> <ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<Import Project="$(NuGetPackageRoot)system.text.json\8.0.4\buildTransitive\net6.0\System.Text.Json.targets" Condition="Exists('$(NuGetPackageRoot)system.text.json\8.0.4\buildTransitive\net6.0\System.Text.Json.targets')" /> <Import Project="$(NuGetPackageRoot)system.text.json\8.0.4\buildTransitive\net6.0\System.Text.Json.targets" Condition="Exists('$(NuGetPackageRoot)system.text.json\8.0.4\buildTransitive\net6.0\System.Text.Json.targets')" />
<Import Project="$(NuGetPackageRoot)sqlitepclraw.lib.e_sqlite3\2.1.6\buildTransitive\net8.0\SQLitePCLRaw.lib.e_sqlite3.targets" Condition="Exists('$(NuGetPackageRoot)sqlitepclraw.lib.e_sqlite3\2.1.6\buildTransitive\net8.0\SQLitePCLRaw.lib.e_sqlite3.targets')" />
<Import Project="$(NuGetPackageRoot)microsoft.extensions.options\8.0.0\buildTransitive\net6.0\Microsoft.Extensions.Options.targets" Condition="Exists('$(NuGetPackageRoot)microsoft.extensions.options\8.0.0\buildTransitive\net6.0\Microsoft.Extensions.Options.targets')" /> <Import Project="$(NuGetPackageRoot)microsoft.extensions.options\8.0.0\buildTransitive\net6.0\Microsoft.Extensions.Options.targets" Condition="Exists('$(NuGetPackageRoot)microsoft.extensions.options\8.0.0\buildTransitive\net6.0\Microsoft.Extensions.Options.targets')" />
<Import Project="$(NuGetPackageRoot)microsoft.extensions.logging.abstractions\8.0.0\buildTransitive\net6.0\Microsoft.Extensions.Logging.Abstractions.targets" Condition="Exists('$(NuGetPackageRoot)microsoft.extensions.logging.abstractions\8.0.0\buildTransitive\net6.0\Microsoft.Extensions.Logging.Abstractions.targets')" /> <Import Project="$(NuGetPackageRoot)microsoft.extensions.logging.abstractions\8.0.0\buildTransitive\net6.0\Microsoft.Extensions.Logging.Abstractions.targets" Condition="Exists('$(NuGetPackageRoot)microsoft.extensions.logging.abstractions\8.0.0\buildTransitive\net6.0\Microsoft.Extensions.Logging.Abstractions.targets')" />
</ImportGroup> </ImportGroup>

View File

@@ -386,6 +386,22 @@
} }
} }
}, },
"Microsoft.Data.Sqlite.Core/8.0.8": {
"type": "package",
"dependencies": {
"SQLitePCLRaw.core": "2.1.6"
},
"compile": {
"lib/net8.0/Microsoft.Data.Sqlite.dll": {
"related": ".xml"
}
},
"runtime": {
"lib/net8.0/Microsoft.Data.Sqlite.dll": {
"related": ".xml"
}
}
},
"Microsoft.EntityFrameworkCore/8.0.8": { "Microsoft.EntityFrameworkCore/8.0.8": {
"type": "package", "type": "package",
"dependencies": { "dependencies": {
@@ -470,6 +486,37 @@
} }
} }
}, },
"Microsoft.EntityFrameworkCore.Sqlite/8.0.8": {
"type": "package",
"dependencies": {
"Microsoft.EntityFrameworkCore.Sqlite.Core": "8.0.8",
"SQLitePCLRaw.bundle_e_sqlite3": "2.1.6"
},
"compile": {
"lib/net8.0/_._": {}
},
"runtime": {
"lib/net8.0/_._": {}
}
},
"Microsoft.EntityFrameworkCore.Sqlite.Core/8.0.8": {
"type": "package",
"dependencies": {
"Microsoft.Data.Sqlite.Core": "8.0.8",
"Microsoft.EntityFrameworkCore.Relational": "8.0.8",
"Microsoft.Extensions.DependencyModel": "8.0.1"
},
"compile": {
"lib/net8.0/Microsoft.EntityFrameworkCore.Sqlite.dll": {
"related": ".xml"
}
},
"runtime": {
"lib/net8.0/Microsoft.EntityFrameworkCore.Sqlite.dll": {
"related": ".xml"
}
}
},
"Microsoft.EntityFrameworkCore.SqlServer/8.0.8": { "Microsoft.EntityFrameworkCore.SqlServer/8.0.8": {
"type": "package", "type": "package",
"dependencies": { "dependencies": {
@@ -602,7 +649,7 @@
"System.Text.Json": "8.0.4" "System.Text.Json": "8.0.4"
}, },
"compile": { "compile": {
"lib/net8.0/_._": { "lib/net8.0/Microsoft.Extensions.DependencyModel.dll": {
"related": ".xml" "related": ".xml"
} }
}, },
@@ -890,6 +937,137 @@
"lib/netstandard2.0/Mono.TextTemplating.dll": {} "lib/netstandard2.0/Mono.TextTemplating.dll": {}
} }
}, },
"SQLitePCLRaw.bundle_e_sqlite3/2.1.6": {
"type": "package",
"dependencies": {
"SQLitePCLRaw.lib.e_sqlite3": "2.1.6",
"SQLitePCLRaw.provider.e_sqlite3": "2.1.6"
},
"compile": {
"lib/netstandard2.0/SQLitePCLRaw.batteries_v2.dll": {}
},
"runtime": {
"lib/netstandard2.0/SQLitePCLRaw.batteries_v2.dll": {}
}
},
"SQLitePCLRaw.core/2.1.6": {
"type": "package",
"dependencies": {
"System.Memory": "4.5.3"
},
"compile": {
"lib/netstandard2.0/SQLitePCLRaw.core.dll": {}
},
"runtime": {
"lib/netstandard2.0/SQLitePCLRaw.core.dll": {}
}
},
"SQLitePCLRaw.lib.e_sqlite3/2.1.6": {
"type": "package",
"compile": {
"lib/netstandard2.0/_._": {}
},
"runtime": {
"lib/netstandard2.0/_._": {}
},
"build": {
"buildTransitive/net8.0/SQLitePCLRaw.lib.e_sqlite3.targets": {}
},
"runtimeTargets": {
"runtimes/browser-wasm/nativeassets/net8.0/e_sqlite3.a": {
"assetType": "native",
"rid": "browser-wasm"
},
"runtimes/linux-arm/native/libe_sqlite3.so": {
"assetType": "native",
"rid": "linux-arm"
},
"runtimes/linux-arm64/native/libe_sqlite3.so": {
"assetType": "native",
"rid": "linux-arm64"
},
"runtimes/linux-armel/native/libe_sqlite3.so": {
"assetType": "native",
"rid": "linux-armel"
},
"runtimes/linux-mips64/native/libe_sqlite3.so": {
"assetType": "native",
"rid": "linux-mips64"
},
"runtimes/linux-musl-arm/native/libe_sqlite3.so": {
"assetType": "native",
"rid": "linux-musl-arm"
},
"runtimes/linux-musl-arm64/native/libe_sqlite3.so": {
"assetType": "native",
"rid": "linux-musl-arm64"
},
"runtimes/linux-musl-x64/native/libe_sqlite3.so": {
"assetType": "native",
"rid": "linux-musl-x64"
},
"runtimes/linux-ppc64le/native/libe_sqlite3.so": {
"assetType": "native",
"rid": "linux-ppc64le"
},
"runtimes/linux-s390x/native/libe_sqlite3.so": {
"assetType": "native",
"rid": "linux-s390x"
},
"runtimes/linux-x64/native/libe_sqlite3.so": {
"assetType": "native",
"rid": "linux-x64"
},
"runtimes/linux-x86/native/libe_sqlite3.so": {
"assetType": "native",
"rid": "linux-x86"
},
"runtimes/maccatalyst-arm64/native/libe_sqlite3.dylib": {
"assetType": "native",
"rid": "maccatalyst-arm64"
},
"runtimes/maccatalyst-x64/native/libe_sqlite3.dylib": {
"assetType": "native",
"rid": "maccatalyst-x64"
},
"runtimes/osx-arm64/native/libe_sqlite3.dylib": {
"assetType": "native",
"rid": "osx-arm64"
},
"runtimes/osx-x64/native/libe_sqlite3.dylib": {
"assetType": "native",
"rid": "osx-x64"
},
"runtimes/win-arm/native/e_sqlite3.dll": {
"assetType": "native",
"rid": "win-arm"
},
"runtimes/win-arm64/native/e_sqlite3.dll": {
"assetType": "native",
"rid": "win-arm64"
},
"runtimes/win-x64/native/e_sqlite3.dll": {
"assetType": "native",
"rid": "win-x64"
},
"runtimes/win-x86/native/e_sqlite3.dll": {
"assetType": "native",
"rid": "win-x86"
}
}
},
"SQLitePCLRaw.provider.e_sqlite3/2.1.6": {
"type": "package",
"dependencies": {
"SQLitePCLRaw.core": "2.1.6"
},
"compile": {
"lib/net6.0/SQLitePCLRaw.provider.e_sqlite3.dll": {}
},
"runtime": {
"lib/net6.0/SQLitePCLRaw.provider.e_sqlite3.dll": {}
}
},
"System.CodeDom/4.4.0": { "System.CodeDom/4.4.0": {
"type": "package", "type": "package",
"compile": { "compile": {
@@ -2173,6 +2351,25 @@
"runtimes/win-x86/native/Microsoft.Data.SqlClient.SNI.dll" "runtimes/win-x86/native/Microsoft.Data.SqlClient.SNI.dll"
] ]
}, },
"Microsoft.Data.Sqlite.Core/8.0.8": {
"sha512": "qHInO2EvOcPhjgboP0TGnXM7rASdvWXrw6jAH8Yuz5YP82VTje7d/NKiX1i+dVbE3+G3JuW1kqNVB8yLvsqgYA==",
"type": "package",
"path": "microsoft.data.sqlite.core/8.0.8",
"files": [
".nupkg.metadata",
".signature.p7s",
"Icon.png",
"PACKAGE.md",
"lib/net6.0/Microsoft.Data.Sqlite.dll",
"lib/net6.0/Microsoft.Data.Sqlite.xml",
"lib/net8.0/Microsoft.Data.Sqlite.dll",
"lib/net8.0/Microsoft.Data.Sqlite.xml",
"lib/netstandard2.0/Microsoft.Data.Sqlite.dll",
"lib/netstandard2.0/Microsoft.Data.Sqlite.xml",
"microsoft.data.sqlite.core.8.0.8.nupkg.sha512",
"microsoft.data.sqlite.core.nuspec"
]
},
"Microsoft.EntityFrameworkCore/8.0.8": { "Microsoft.EntityFrameworkCore/8.0.8": {
"sha512": "iK+jrJzkfbIxutB7or808BPmJtjUEi5O+eSM7cLDwsyde6+3iOujCSfWnrHrLxY3u+EQrJD+aD8DJ6ogPA2Rtw==", "sha512": "iK+jrJzkfbIxutB7or808BPmJtjUEi5O+eSM7cLDwsyde6+3iOujCSfWnrHrLxY3u+EQrJD+aD8DJ6ogPA2Rtw==",
"type": "package", "type": "package",
@@ -2250,6 +2447,35 @@
"microsoft.entityframeworkcore.relational.nuspec" "microsoft.entityframeworkcore.relational.nuspec"
] ]
}, },
"Microsoft.EntityFrameworkCore.Sqlite/8.0.8": {
"sha512": "IDB7Xs16hN/3VkWFCCa4r3fqoJxMVezwq418gr8dBkRBO0pxH+BX/Kjk/U3PYXDvzVLkXqUgJsHv1XoFrJbZPQ==",
"type": "package",
"path": "microsoft.entityframeworkcore.sqlite/8.0.8",
"files": [
".nupkg.metadata",
".signature.p7s",
"Icon.png",
"PACKAGE.md",
"lib/net8.0/_._",
"microsoft.entityframeworkcore.sqlite.8.0.8.nupkg.sha512",
"microsoft.entityframeworkcore.sqlite.nuspec"
]
},
"Microsoft.EntityFrameworkCore.Sqlite.Core/8.0.8": {
"sha512": "w5k/ENj3+BPbmggqh83RRuPhhKcJmW7CmdJuGwdX1eFrmptJwnzKiHfQCPkJAu9df16PSs5YFeWrDgepfqnltA==",
"type": "package",
"path": "microsoft.entityframeworkcore.sqlite.core/8.0.8",
"files": [
".nupkg.metadata",
".signature.p7s",
"Icon.png",
"PACKAGE.md",
"lib/net8.0/Microsoft.EntityFrameworkCore.Sqlite.dll",
"lib/net8.0/Microsoft.EntityFrameworkCore.Sqlite.xml",
"microsoft.entityframeworkcore.sqlite.core.8.0.8.nupkg.sha512",
"microsoft.entityframeworkcore.sqlite.core.nuspec"
]
},
"Microsoft.EntityFrameworkCore.SqlServer/8.0.8": { "Microsoft.EntityFrameworkCore.SqlServer/8.0.8": {
"sha512": "A2F52W+hnGqvprx37HcAnYnJv4QoFFdc9cxd/QGNSd1vCu1I0eAEKRd0r9KS3E5I5RRj/m9XJfYCyTdy1cdn5Q==", "sha512": "A2F52W+hnGqvprx37HcAnYnJv4QoFFdc9cxd/QGNSd1vCu1I0eAEKRd0r9KS3E5I5RRj/m9XJfYCyTdy1cdn5Q==",
"type": "package", "type": "package",
@@ -2934,6 +3160,95 @@
"mono.texttemplating.nuspec" "mono.texttemplating.nuspec"
] ]
}, },
"SQLitePCLRaw.bundle_e_sqlite3/2.1.6": {
"sha512": "BmAf6XWt4TqtowmiWe4/5rRot6GerAeklmOPfviOvwLoF5WwgxcJHAxZtySuyW9r9w+HLILnm8VfJFLCUJYW8A==",
"type": "package",
"path": "sqlitepclraw.bundle_e_sqlite3/2.1.6",
"files": [
".nupkg.metadata",
".signature.p7s",
"lib/monoandroid90/SQLitePCLRaw.batteries_v2.dll",
"lib/net461/SQLitePCLRaw.batteries_v2.dll",
"lib/net6.0-android31.0/SQLitePCLRaw.batteries_v2.dll",
"lib/net6.0-android31.0/SQLitePCLRaw.batteries_v2.xml",
"lib/net6.0-ios14.0/SQLitePCLRaw.batteries_v2.dll",
"lib/net6.0-ios14.2/SQLitePCLRaw.batteries_v2.dll",
"lib/net6.0-tvos10.0/SQLitePCLRaw.batteries_v2.dll",
"lib/netstandard2.0/SQLitePCLRaw.batteries_v2.dll",
"lib/xamarinios10/SQLitePCLRaw.batteries_v2.dll",
"sqlitepclraw.bundle_e_sqlite3.2.1.6.nupkg.sha512",
"sqlitepclraw.bundle_e_sqlite3.nuspec"
]
},
"SQLitePCLRaw.core/2.1.6": {
"sha512": "wO6v9GeMx9CUngAet8hbO7xdm+M42p1XeJq47ogyRoYSvNSp0NGLI+MgC0bhrMk9C17MTVFlLiN6ylyExLCc5w==",
"type": "package",
"path": "sqlitepclraw.core/2.1.6",
"files": [
".nupkg.metadata",
".signature.p7s",
"lib/netstandard2.0/SQLitePCLRaw.core.dll",
"sqlitepclraw.core.2.1.6.nupkg.sha512",
"sqlitepclraw.core.nuspec"
]
},
"SQLitePCLRaw.lib.e_sqlite3/2.1.6": {
"sha512": "2ObJJLkIUIxRpOUlZNGuD4rICpBnrBR5anjyfUFQep4hMOIeqW+XGQYzrNmHSVz5xSWZ3klSbh7sFR6UyDj68Q==",
"type": "package",
"path": "sqlitepclraw.lib.e_sqlite3/2.1.6",
"files": [
".nupkg.metadata",
".signature.p7s",
"buildTransitive/net461/SQLitePCLRaw.lib.e_sqlite3.targets",
"buildTransitive/net6.0/SQLitePCLRaw.lib.e_sqlite3.targets",
"buildTransitive/net7.0/SQLitePCLRaw.lib.e_sqlite3.targets",
"buildTransitive/net8.0/SQLitePCLRaw.lib.e_sqlite3.targets",
"lib/net461/_._",
"lib/netstandard2.0/_._",
"runtimes/browser-wasm/nativeassets/net6.0/e_sqlite3.a",
"runtimes/browser-wasm/nativeassets/net7.0/e_sqlite3.a",
"runtimes/browser-wasm/nativeassets/net8.0/e_sqlite3.a",
"runtimes/linux-arm/native/libe_sqlite3.so",
"runtimes/linux-arm64/native/libe_sqlite3.so",
"runtimes/linux-armel/native/libe_sqlite3.so",
"runtimes/linux-mips64/native/libe_sqlite3.so",
"runtimes/linux-musl-arm/native/libe_sqlite3.so",
"runtimes/linux-musl-arm64/native/libe_sqlite3.so",
"runtimes/linux-musl-x64/native/libe_sqlite3.so",
"runtimes/linux-ppc64le/native/libe_sqlite3.so",
"runtimes/linux-s390x/native/libe_sqlite3.so",
"runtimes/linux-x64/native/libe_sqlite3.so",
"runtimes/linux-x86/native/libe_sqlite3.so",
"runtimes/maccatalyst-arm64/native/libe_sqlite3.dylib",
"runtimes/maccatalyst-x64/native/libe_sqlite3.dylib",
"runtimes/osx-arm64/native/libe_sqlite3.dylib",
"runtimes/osx-x64/native/libe_sqlite3.dylib",
"runtimes/win-arm/native/e_sqlite3.dll",
"runtimes/win-arm64/native/e_sqlite3.dll",
"runtimes/win-x64/native/e_sqlite3.dll",
"runtimes/win-x86/native/e_sqlite3.dll",
"runtimes/win10-arm/nativeassets/uap10.0/e_sqlite3.dll",
"runtimes/win10-arm64/nativeassets/uap10.0/e_sqlite3.dll",
"runtimes/win10-x64/nativeassets/uap10.0/e_sqlite3.dll",
"runtimes/win10-x86/nativeassets/uap10.0/e_sqlite3.dll",
"sqlitepclraw.lib.e_sqlite3.2.1.6.nupkg.sha512",
"sqlitepclraw.lib.e_sqlite3.nuspec"
]
},
"SQLitePCLRaw.provider.e_sqlite3/2.1.6": {
"sha512": "PQ2Oq3yepLY4P7ll145P3xtx2bX8xF4PzaKPRpw9jZlKvfe4LE/saAV82inND9usn1XRpmxXk7Lal3MTI+6CNg==",
"type": "package",
"path": "sqlitepclraw.provider.e_sqlite3/2.1.6",
"files": [
".nupkg.metadata",
".signature.p7s",
"lib/net6.0-windows7.0/SQLitePCLRaw.provider.e_sqlite3.dll",
"lib/net6.0/SQLitePCLRaw.provider.e_sqlite3.dll",
"lib/netstandard2.0/SQLitePCLRaw.provider.e_sqlite3.dll",
"sqlitepclraw.provider.e_sqlite3.2.1.6.nupkg.sha512",
"sqlitepclraw.provider.e_sqlite3.nuspec"
]
},
"System.CodeDom/4.4.0": { "System.CodeDom/4.4.0": {
"sha512": "2sCCb7doXEwtYAbqzbF/8UAeDRMNmPaQbU2q50Psg1J9KzumyVVCgKQY8s53WIPTufNT0DpSe9QRvVjOzfDWBA==", "sha512": "2sCCb7doXEwtYAbqzbF/8UAeDRMNmPaQbU2q50Psg1J9KzumyVVCgKQY8s53WIPTufNT0DpSe9QRvVjOzfDWBA==",
"type": "package", "type": "package",
@@ -4118,6 +4433,7 @@
"Entidades >= 1.0.0", "Entidades >= 1.0.0",
"Microsoft.EntityFrameworkCore >= 8.0.8", "Microsoft.EntityFrameworkCore >= 8.0.8",
"Microsoft.EntityFrameworkCore.SqlServer >= 8.0.8", "Microsoft.EntityFrameworkCore.SqlServer >= 8.0.8",
"Microsoft.EntityFrameworkCore.Sqlite >= 8.0.8",
"Microsoft.EntityFrameworkCore.Tools >= 8.0.8" "Microsoft.EntityFrameworkCore.Tools >= 8.0.8"
] ]
}, },
@@ -4178,6 +4494,10 @@
"target": "Package", "target": "Package",
"version": "[8.0.8, )" "version": "[8.0.8, )"
}, },
"Microsoft.EntityFrameworkCore.Sqlite": {
"target": "Package",
"version": "[8.0.8, )"
},
"Microsoft.EntityFrameworkCore.Tools": { "Microsoft.EntityFrameworkCore.Tools": {
"include": "Runtime, Build, Native, ContentFiles, Analyzers, BuildTransitive", "include": "Runtime, Build, Native, ContentFiles, Analyzers, BuildTransitive",
"suppressParent": "All", "suppressParent": "All",

View File

@@ -1,6 +1,6 @@
{ {
"version": 2, "version": 2,
"dgSpecHash": "RfnM8S6586M=", "dgSpecHash": "NhK3CE/FFk0=",
"success": true, "success": true,
"projectFilePath": "C:\\Users\\fedpo\\source\\repos\\Final_Das\\Modelo\\Modelo.csproj", "projectFilePath": "C:\\Users\\fedpo\\source\\repos\\Final_Das\\Modelo\\Modelo.csproj",
"expectedPackageFiles": [ "expectedPackageFiles": [
@@ -16,11 +16,14 @@
"C:\\Users\\fedpo\\.nuget\\packages\\microsoft.csharp\\4.5.0\\microsoft.csharp.4.5.0.nupkg.sha512", "C:\\Users\\fedpo\\.nuget\\packages\\microsoft.csharp\\4.5.0\\microsoft.csharp.4.5.0.nupkg.sha512",
"C:\\Users\\fedpo\\.nuget\\packages\\microsoft.data.sqlclient\\5.1.5\\microsoft.data.sqlclient.5.1.5.nupkg.sha512", "C:\\Users\\fedpo\\.nuget\\packages\\microsoft.data.sqlclient\\5.1.5\\microsoft.data.sqlclient.5.1.5.nupkg.sha512",
"C:\\Users\\fedpo\\.nuget\\packages\\microsoft.data.sqlclient.sni.runtime\\5.1.1\\microsoft.data.sqlclient.sni.runtime.5.1.1.nupkg.sha512", "C:\\Users\\fedpo\\.nuget\\packages\\microsoft.data.sqlclient.sni.runtime\\5.1.1\\microsoft.data.sqlclient.sni.runtime.5.1.1.nupkg.sha512",
"C:\\Users\\fedpo\\.nuget\\packages\\microsoft.data.sqlite.core\\8.0.8\\microsoft.data.sqlite.core.8.0.8.nupkg.sha512",
"C:\\Users\\fedpo\\.nuget\\packages\\microsoft.entityframeworkcore\\8.0.8\\microsoft.entityframeworkcore.8.0.8.nupkg.sha512", "C:\\Users\\fedpo\\.nuget\\packages\\microsoft.entityframeworkcore\\8.0.8\\microsoft.entityframeworkcore.8.0.8.nupkg.sha512",
"C:\\Users\\fedpo\\.nuget\\packages\\microsoft.entityframeworkcore.abstractions\\8.0.8\\microsoft.entityframeworkcore.abstractions.8.0.8.nupkg.sha512", "C:\\Users\\fedpo\\.nuget\\packages\\microsoft.entityframeworkcore.abstractions\\8.0.8\\microsoft.entityframeworkcore.abstractions.8.0.8.nupkg.sha512",
"C:\\Users\\fedpo\\.nuget\\packages\\microsoft.entityframeworkcore.analyzers\\8.0.8\\microsoft.entityframeworkcore.analyzers.8.0.8.nupkg.sha512", "C:\\Users\\fedpo\\.nuget\\packages\\microsoft.entityframeworkcore.analyzers\\8.0.8\\microsoft.entityframeworkcore.analyzers.8.0.8.nupkg.sha512",
"C:\\Users\\fedpo\\.nuget\\packages\\microsoft.entityframeworkcore.design\\8.0.8\\microsoft.entityframeworkcore.design.8.0.8.nupkg.sha512", "C:\\Users\\fedpo\\.nuget\\packages\\microsoft.entityframeworkcore.design\\8.0.8\\microsoft.entityframeworkcore.design.8.0.8.nupkg.sha512",
"C:\\Users\\fedpo\\.nuget\\packages\\microsoft.entityframeworkcore.relational\\8.0.8\\microsoft.entityframeworkcore.relational.8.0.8.nupkg.sha512", "C:\\Users\\fedpo\\.nuget\\packages\\microsoft.entityframeworkcore.relational\\8.0.8\\microsoft.entityframeworkcore.relational.8.0.8.nupkg.sha512",
"C:\\Users\\fedpo\\.nuget\\packages\\microsoft.entityframeworkcore.sqlite\\8.0.8\\microsoft.entityframeworkcore.sqlite.8.0.8.nupkg.sha512",
"C:\\Users\\fedpo\\.nuget\\packages\\microsoft.entityframeworkcore.sqlite.core\\8.0.8\\microsoft.entityframeworkcore.sqlite.core.8.0.8.nupkg.sha512",
"C:\\Users\\fedpo\\.nuget\\packages\\microsoft.entityframeworkcore.sqlserver\\8.0.8\\microsoft.entityframeworkcore.sqlserver.8.0.8.nupkg.sha512", "C:\\Users\\fedpo\\.nuget\\packages\\microsoft.entityframeworkcore.sqlserver\\8.0.8\\microsoft.entityframeworkcore.sqlserver.8.0.8.nupkg.sha512",
"C:\\Users\\fedpo\\.nuget\\packages\\microsoft.entityframeworkcore.tools\\8.0.8\\microsoft.entityframeworkcore.tools.8.0.8.nupkg.sha512", "C:\\Users\\fedpo\\.nuget\\packages\\microsoft.entityframeworkcore.tools\\8.0.8\\microsoft.entityframeworkcore.tools.8.0.8.nupkg.sha512",
"C:\\Users\\fedpo\\.nuget\\packages\\microsoft.extensions.caching.abstractions\\8.0.0\\microsoft.extensions.caching.abstractions.8.0.0.nupkg.sha512", "C:\\Users\\fedpo\\.nuget\\packages\\microsoft.extensions.caching.abstractions\\8.0.0\\microsoft.extensions.caching.abstractions.8.0.0.nupkg.sha512",
@@ -46,6 +49,10 @@
"C:\\Users\\fedpo\\.nuget\\packages\\microsoft.sqlserver.server\\1.0.0\\microsoft.sqlserver.server.1.0.0.nupkg.sha512", "C:\\Users\\fedpo\\.nuget\\packages\\microsoft.sqlserver.server\\1.0.0\\microsoft.sqlserver.server.1.0.0.nupkg.sha512",
"C:\\Users\\fedpo\\.nuget\\packages\\microsoft.win32.systemevents\\6.0.0\\microsoft.win32.systemevents.6.0.0.nupkg.sha512", "C:\\Users\\fedpo\\.nuget\\packages\\microsoft.win32.systemevents\\6.0.0\\microsoft.win32.systemevents.6.0.0.nupkg.sha512",
"C:\\Users\\fedpo\\.nuget\\packages\\mono.texttemplating\\2.2.1\\mono.texttemplating.2.2.1.nupkg.sha512", "C:\\Users\\fedpo\\.nuget\\packages\\mono.texttemplating\\2.2.1\\mono.texttemplating.2.2.1.nupkg.sha512",
"C:\\Users\\fedpo\\.nuget\\packages\\sqlitepclraw.bundle_e_sqlite3\\2.1.6\\sqlitepclraw.bundle_e_sqlite3.2.1.6.nupkg.sha512",
"C:\\Users\\fedpo\\.nuget\\packages\\sqlitepclraw.core\\2.1.6\\sqlitepclraw.core.2.1.6.nupkg.sha512",
"C:\\Users\\fedpo\\.nuget\\packages\\sqlitepclraw.lib.e_sqlite3\\2.1.6\\sqlitepclraw.lib.e_sqlite3.2.1.6.nupkg.sha512",
"C:\\Users\\fedpo\\.nuget\\packages\\sqlitepclraw.provider.e_sqlite3\\2.1.6\\sqlitepclraw.provider.e_sqlite3.2.1.6.nupkg.sha512",
"C:\\Users\\fedpo\\.nuget\\packages\\system.codedom\\4.4.0\\system.codedom.4.4.0.nupkg.sha512", "C:\\Users\\fedpo\\.nuget\\packages\\system.codedom\\4.4.0\\system.codedom.4.4.0.nupkg.sha512",
"C:\\Users\\fedpo\\.nuget\\packages\\system.collections.immutable\\6.0.0\\system.collections.immutable.6.0.0.nupkg.sha512", "C:\\Users\\fedpo\\.nuget\\packages\\system.collections.immutable\\6.0.0\\system.collections.immutable.6.0.0.nupkg.sha512",
"C:\\Users\\fedpo\\.nuget\\packages\\system.composition\\6.0.0\\system.composition.6.0.0.nupkg.sha512", "C:\\Users\\fedpo\\.nuget\\packages\\system.composition\\6.0.0\\system.composition.6.0.0.nupkg.sha512",

View File

@@ -38,6 +38,7 @@ namespace Vista
private void InicializarFormulario() private void InicializarFormulario()
{ {
numId.Value = nuevoproducto.Id; numId.Value = nuevoproducto.Id;
nuevoproducto = ControladoraProductos.Instance.MostrarPorId(nuevoproducto);
numId.Enabled = false; numId.Enabled = false;
txtNombre.Text = nuevoproducto.Nombre; txtNombre.Text = nuevoproducto.Nombre;
numPrecio.Value = (decimal)nuevoproducto.Precio; numPrecio.Value = (decimal)nuevoproducto.Precio;
@@ -52,30 +53,26 @@ namespace Vista
numConsumoPreferente.Value = Prodperc.MesesHastaConsumoPreferente; numConsumoPreferente.Value = Prodperc.MesesHastaConsumoPreferente;
numvencimiento.Value = Prodperc.MesesHastaVencimiento; numvencimiento.Value = Prodperc.MesesHastaVencimiento;
} }
else
{
}
} }
private void CargarTabla() private void CargarTabla()
{ {
dgvProveedor.DataSource = null; dgvProveedor.DataSource = null;
dgvProveedor.DataSource = ControladoraProductos.Instance.ListarProveedores(); dgvProveedor.DataSource = ControladoraProductos.Instance.ListarProveedores();
if (mod)
{
dgvProveedorAñadido.DataSource = ControladoraProductos.Instance.ListarProveedores(nuevoproducto);
}
dgvCategoria.DataSource = null; dgvCategoria.DataSource = null;
dgvCategoria.DataSource = ControladoraCategorias.Instance.Listar(); dgvCategoria.DataSource = ControladoraCategorias.Instance.Listar();
if (mod) if (mod)
{ {
dgvCategoriaAñadida.DataSource = ControladoraProductos.Instance.ListarCategorias(nuevoproducto);
dgvProveedorAñadido.DataSource = nuevoproducto.proveedores.AsReadOnly();
dgvCategoriaAñadida.DataSource = null;
dgvCategoriaAñadida.DataSource = nuevoproducto.categorias.AsReadOnly();
} }
} }
private void CargarNumid() private void CargarNumid()

View File

@@ -67,7 +67,7 @@ namespace Vista
var remito = new Remito var remito = new Remito
{ {
Proveedor = orden.Proveedor Proveedor = orden.Proveedor,
}; };
foreach (var detalle in ControladoraRemito.Instance.ListarDetallesOrdenesDeCompra(orden)) foreach (var detalle in ControladoraRemito.Instance.ListarDetallesOrdenesDeCompra(orden))
{ {
@@ -76,7 +76,6 @@ namespace Vista
Cantidad = detalle.Cantidad, Cantidad = detalle.Cantidad,
Fecha = DateTime.Now, Fecha = DateTime.Now,
Habilitado = true, Habilitado = true,
IdRemito = remito.Id,
Producto = detalle.Producto, Producto = detalle.Producto,
}; };
remito.AñadirLote(lote); remito.AñadirLote(lote);

View File

@@ -33,7 +33,7 @@ namespace Vista
dgvRemito.DataSource = ControladoraRemito.Instance.Listar(); dgvRemito.DataSource = ControladoraRemito.Instance.Listar();
foreach (DataGridViewColumn column in dgvRemito.Columns) foreach (DataGridViewColumn column in dgvRemito.Columns)
{ {
column.Visible = column.Name == "Id" || column.Name == "NombreProveedor"; column.Visible = column.Name == "Id" || column.Name == "NombreProveedor";
} }
} }
private void BtnAdd_Click(object sender, EventArgs e) private void BtnAdd_Click(object sender, EventArgs e)
@@ -51,9 +51,9 @@ namespace Vista
var rem = new Remito { Id = ordenid }; var rem = new Remito { Id = ordenid };
var detallesrem = ControladoraRemito.Instance.ListarLotesPorRemito(rem); rem = ControladoraRemito.Instance.MostrarRemitoPorId(rem);
dgvDetallesRemito.DataSource = null; dgvDetallesRemito.DataSource = null;
dgvDetallesRemito.DataSource = detallesrem; dgvDetallesRemito.DataSource = rem.Lotes;
foreach (DataGridViewColumn column in dgvDetallesRemito.Columns) foreach (DataGridViewColumn column in dgvDetallesRemito.Columns)
{ {
column.Visible = column.Name == "Id" || column.Name == "Fecha" column.Visible = column.Name == "Id" || column.Name == "Fecha"

BIN
Vista/daslug.db Normal file

Binary file not shown.

View File

@@ -255,6 +255,10 @@
"target": "Package", "target": "Package",
"version": "[8.0.8, )" "version": "[8.0.8, )"
}, },
"Microsoft.EntityFrameworkCore.Sqlite": {
"target": "Package",
"version": "[8.0.8, )"
},
"Microsoft.EntityFrameworkCore.Tools": { "Microsoft.EntityFrameworkCore.Tools": {
"include": "Runtime, Build, Native, ContentFiles, Analyzers, BuildTransitive", "include": "Runtime, Build, Native, ContentFiles, Analyzers, BuildTransitive",
"suppressParent": "All", "suppressParent": "All",

View File

@@ -2,6 +2,7 @@
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' "> <ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<Import Project="$(NuGetPackageRoot)system.text.json\8.0.4\buildTransitive\net6.0\System.Text.Json.targets" Condition="Exists('$(NuGetPackageRoot)system.text.json\8.0.4\buildTransitive\net6.0\System.Text.Json.targets')" /> <Import Project="$(NuGetPackageRoot)system.text.json\8.0.4\buildTransitive\net6.0\System.Text.Json.targets" Condition="Exists('$(NuGetPackageRoot)system.text.json\8.0.4\buildTransitive\net6.0\System.Text.Json.targets')" />
<Import Project="$(NuGetPackageRoot)sqlitepclraw.lib.e_sqlite3\2.1.6\buildTransitive\net8.0\SQLitePCLRaw.lib.e_sqlite3.targets" Condition="Exists('$(NuGetPackageRoot)sqlitepclraw.lib.e_sqlite3\2.1.6\buildTransitive\net8.0\SQLitePCLRaw.lib.e_sqlite3.targets')" />
<Import Project="$(NuGetPackageRoot)microsoft.extensions.options\8.0.0\buildTransitive\net6.0\Microsoft.Extensions.Options.targets" Condition="Exists('$(NuGetPackageRoot)microsoft.extensions.options\8.0.0\buildTransitive\net6.0\Microsoft.Extensions.Options.targets')" /> <Import Project="$(NuGetPackageRoot)microsoft.extensions.options\8.0.0\buildTransitive\net6.0\Microsoft.Extensions.Options.targets" Condition="Exists('$(NuGetPackageRoot)microsoft.extensions.options\8.0.0\buildTransitive\net6.0\Microsoft.Extensions.Options.targets')" />
<Import Project="$(NuGetPackageRoot)microsoft.extensions.logging.abstractions\8.0.0\buildTransitive\net6.0\Microsoft.Extensions.Logging.Abstractions.targets" Condition="Exists('$(NuGetPackageRoot)microsoft.extensions.logging.abstractions\8.0.0\buildTransitive\net6.0\Microsoft.Extensions.Logging.Abstractions.targets')" /> <Import Project="$(NuGetPackageRoot)microsoft.extensions.logging.abstractions\8.0.0\buildTransitive\net6.0\Microsoft.Extensions.Logging.Abstractions.targets" Condition="Exists('$(NuGetPackageRoot)microsoft.extensions.logging.abstractions\8.0.0\buildTransitive\net6.0\Microsoft.Extensions.Logging.Abstractions.targets')" />
</ImportGroup> </ImportGroup>

View File

@@ -386,6 +386,22 @@
} }
} }
}, },
"Microsoft.Data.Sqlite.Core/8.0.8": {
"type": "package",
"dependencies": {
"SQLitePCLRaw.core": "2.1.6"
},
"compile": {
"lib/net8.0/Microsoft.Data.Sqlite.dll": {
"related": ".xml"
}
},
"runtime": {
"lib/net8.0/Microsoft.Data.Sqlite.dll": {
"related": ".xml"
}
}
},
"Microsoft.EntityFrameworkCore/8.0.8": { "Microsoft.EntityFrameworkCore/8.0.8": {
"type": "package", "type": "package",
"dependencies": { "dependencies": {
@@ -470,6 +486,37 @@
} }
} }
}, },
"Microsoft.EntityFrameworkCore.Sqlite/8.0.8": {
"type": "package",
"dependencies": {
"Microsoft.EntityFrameworkCore.Sqlite.Core": "8.0.8",
"SQLitePCLRaw.bundle_e_sqlite3": "2.1.6"
},
"compile": {
"lib/net8.0/_._": {}
},
"runtime": {
"lib/net8.0/_._": {}
}
},
"Microsoft.EntityFrameworkCore.Sqlite.Core/8.0.8": {
"type": "package",
"dependencies": {
"Microsoft.Data.Sqlite.Core": "8.0.8",
"Microsoft.EntityFrameworkCore.Relational": "8.0.8",
"Microsoft.Extensions.DependencyModel": "8.0.1"
},
"compile": {
"lib/net8.0/Microsoft.EntityFrameworkCore.Sqlite.dll": {
"related": ".xml"
}
},
"runtime": {
"lib/net8.0/Microsoft.EntityFrameworkCore.Sqlite.dll": {
"related": ".xml"
}
}
},
"Microsoft.EntityFrameworkCore.SqlServer/8.0.8": { "Microsoft.EntityFrameworkCore.SqlServer/8.0.8": {
"type": "package", "type": "package",
"dependencies": { "dependencies": {
@@ -590,7 +637,7 @@
"System.Text.Json": "8.0.4" "System.Text.Json": "8.0.4"
}, },
"compile": { "compile": {
"lib/net8.0/_._": { "lib/net8.0/Microsoft.Extensions.DependencyModel.dll": {
"related": ".xml" "related": ".xml"
} }
}, },
@@ -948,6 +995,137 @@
"lib/netstandard2.0/Mono.TextTemplating.dll": {} "lib/netstandard2.0/Mono.TextTemplating.dll": {}
} }
}, },
"SQLitePCLRaw.bundle_e_sqlite3/2.1.6": {
"type": "package",
"dependencies": {
"SQLitePCLRaw.lib.e_sqlite3": "2.1.6",
"SQLitePCLRaw.provider.e_sqlite3": "2.1.6"
},
"compile": {
"lib/netstandard2.0/SQLitePCLRaw.batteries_v2.dll": {}
},
"runtime": {
"lib/netstandard2.0/SQLitePCLRaw.batteries_v2.dll": {}
}
},
"SQLitePCLRaw.core/2.1.6": {
"type": "package",
"dependencies": {
"System.Memory": "4.5.3"
},
"compile": {
"lib/netstandard2.0/SQLitePCLRaw.core.dll": {}
},
"runtime": {
"lib/netstandard2.0/SQLitePCLRaw.core.dll": {}
}
},
"SQLitePCLRaw.lib.e_sqlite3/2.1.6": {
"type": "package",
"compile": {
"lib/netstandard2.0/_._": {}
},
"runtime": {
"lib/netstandard2.0/_._": {}
},
"build": {
"buildTransitive/net8.0/SQLitePCLRaw.lib.e_sqlite3.targets": {}
},
"runtimeTargets": {
"runtimes/browser-wasm/nativeassets/net8.0/e_sqlite3.a": {
"assetType": "native",
"rid": "browser-wasm"
},
"runtimes/linux-arm/native/libe_sqlite3.so": {
"assetType": "native",
"rid": "linux-arm"
},
"runtimes/linux-arm64/native/libe_sqlite3.so": {
"assetType": "native",
"rid": "linux-arm64"
},
"runtimes/linux-armel/native/libe_sqlite3.so": {
"assetType": "native",
"rid": "linux-armel"
},
"runtimes/linux-mips64/native/libe_sqlite3.so": {
"assetType": "native",
"rid": "linux-mips64"
},
"runtimes/linux-musl-arm/native/libe_sqlite3.so": {
"assetType": "native",
"rid": "linux-musl-arm"
},
"runtimes/linux-musl-arm64/native/libe_sqlite3.so": {
"assetType": "native",
"rid": "linux-musl-arm64"
},
"runtimes/linux-musl-x64/native/libe_sqlite3.so": {
"assetType": "native",
"rid": "linux-musl-x64"
},
"runtimes/linux-ppc64le/native/libe_sqlite3.so": {
"assetType": "native",
"rid": "linux-ppc64le"
},
"runtimes/linux-s390x/native/libe_sqlite3.so": {
"assetType": "native",
"rid": "linux-s390x"
},
"runtimes/linux-x64/native/libe_sqlite3.so": {
"assetType": "native",
"rid": "linux-x64"
},
"runtimes/linux-x86/native/libe_sqlite3.so": {
"assetType": "native",
"rid": "linux-x86"
},
"runtimes/maccatalyst-arm64/native/libe_sqlite3.dylib": {
"assetType": "native",
"rid": "maccatalyst-arm64"
},
"runtimes/maccatalyst-x64/native/libe_sqlite3.dylib": {
"assetType": "native",
"rid": "maccatalyst-x64"
},
"runtimes/osx-arm64/native/libe_sqlite3.dylib": {
"assetType": "native",
"rid": "osx-arm64"
},
"runtimes/osx-x64/native/libe_sqlite3.dylib": {
"assetType": "native",
"rid": "osx-x64"
},
"runtimes/win-arm/native/e_sqlite3.dll": {
"assetType": "native",
"rid": "win-arm"
},
"runtimes/win-arm64/native/e_sqlite3.dll": {
"assetType": "native",
"rid": "win-arm64"
},
"runtimes/win-x64/native/e_sqlite3.dll": {
"assetType": "native",
"rid": "win-x64"
},
"runtimes/win-x86/native/e_sqlite3.dll": {
"assetType": "native",
"rid": "win-x86"
}
}
},
"SQLitePCLRaw.provider.e_sqlite3/2.1.6": {
"type": "package",
"dependencies": {
"SQLitePCLRaw.core": "2.1.6"
},
"compile": {
"lib/net6.0-windows7.0/SQLitePCLRaw.provider.e_sqlite3.dll": {}
},
"runtime": {
"lib/net6.0-windows7.0/SQLitePCLRaw.provider.e_sqlite3.dll": {}
}
},
"System.CodeDom/4.4.0": { "System.CodeDom/4.4.0": {
"type": "package", "type": "package",
"compile": { "compile": {
@@ -1605,7 +1783,8 @@
"dependencies": { "dependencies": {
"Entidades": "1.0.0", "Entidades": "1.0.0",
"Microsoft.EntityFrameworkCore": "8.0.8", "Microsoft.EntityFrameworkCore": "8.0.8",
"Microsoft.EntityFrameworkCore.SqlServer": "8.0.8" "Microsoft.EntityFrameworkCore.SqlServer": "8.0.8",
"Microsoft.EntityFrameworkCore.Sqlite": "8.0.8"
}, },
"compile": { "compile": {
"bin/placeholder/Modelo.dll": {} "bin/placeholder/Modelo.dll": {}
@@ -2274,6 +2453,25 @@
"runtimes/win-x86/native/Microsoft.Data.SqlClient.SNI.dll" "runtimes/win-x86/native/Microsoft.Data.SqlClient.SNI.dll"
] ]
}, },
"Microsoft.Data.Sqlite.Core/8.0.8": {
"sha512": "qHInO2EvOcPhjgboP0TGnXM7rASdvWXrw6jAH8Yuz5YP82VTje7d/NKiX1i+dVbE3+G3JuW1kqNVB8yLvsqgYA==",
"type": "package",
"path": "microsoft.data.sqlite.core/8.0.8",
"files": [
".nupkg.metadata",
".signature.p7s",
"Icon.png",
"PACKAGE.md",
"lib/net6.0/Microsoft.Data.Sqlite.dll",
"lib/net6.0/Microsoft.Data.Sqlite.xml",
"lib/net8.0/Microsoft.Data.Sqlite.dll",
"lib/net8.0/Microsoft.Data.Sqlite.xml",
"lib/netstandard2.0/Microsoft.Data.Sqlite.dll",
"lib/netstandard2.0/Microsoft.Data.Sqlite.xml",
"microsoft.data.sqlite.core.8.0.8.nupkg.sha512",
"microsoft.data.sqlite.core.nuspec"
]
},
"Microsoft.EntityFrameworkCore/8.0.8": { "Microsoft.EntityFrameworkCore/8.0.8": {
"sha512": "iK+jrJzkfbIxutB7or808BPmJtjUEi5O+eSM7cLDwsyde6+3iOujCSfWnrHrLxY3u+EQrJD+aD8DJ6ogPA2Rtw==", "sha512": "iK+jrJzkfbIxutB7or808BPmJtjUEi5O+eSM7cLDwsyde6+3iOujCSfWnrHrLxY3u+EQrJD+aD8DJ6ogPA2Rtw==",
"type": "package", "type": "package",
@@ -2351,6 +2549,35 @@
"microsoft.entityframeworkcore.relational.nuspec" "microsoft.entityframeworkcore.relational.nuspec"
] ]
}, },
"Microsoft.EntityFrameworkCore.Sqlite/8.0.8": {
"sha512": "IDB7Xs16hN/3VkWFCCa4r3fqoJxMVezwq418gr8dBkRBO0pxH+BX/Kjk/U3PYXDvzVLkXqUgJsHv1XoFrJbZPQ==",
"type": "package",
"path": "microsoft.entityframeworkcore.sqlite/8.0.8",
"files": [
".nupkg.metadata",
".signature.p7s",
"Icon.png",
"PACKAGE.md",
"lib/net8.0/_._",
"microsoft.entityframeworkcore.sqlite.8.0.8.nupkg.sha512",
"microsoft.entityframeworkcore.sqlite.nuspec"
]
},
"Microsoft.EntityFrameworkCore.Sqlite.Core/8.0.8": {
"sha512": "w5k/ENj3+BPbmggqh83RRuPhhKcJmW7CmdJuGwdX1eFrmptJwnzKiHfQCPkJAu9df16PSs5YFeWrDgepfqnltA==",
"type": "package",
"path": "microsoft.entityframeworkcore.sqlite.core/8.0.8",
"files": [
".nupkg.metadata",
".signature.p7s",
"Icon.png",
"PACKAGE.md",
"lib/net8.0/Microsoft.EntityFrameworkCore.Sqlite.dll",
"lib/net8.0/Microsoft.EntityFrameworkCore.Sqlite.xml",
"microsoft.entityframeworkcore.sqlite.core.8.0.8.nupkg.sha512",
"microsoft.entityframeworkcore.sqlite.core.nuspec"
]
},
"Microsoft.EntityFrameworkCore.SqlServer/8.0.8": { "Microsoft.EntityFrameworkCore.SqlServer/8.0.8": {
"sha512": "A2F52W+hnGqvprx37HcAnYnJv4QoFFdc9cxd/QGNSd1vCu1I0eAEKRd0r9KS3E5I5RRj/m9XJfYCyTdy1cdn5Q==", "sha512": "A2F52W+hnGqvprx37HcAnYnJv4QoFFdc9cxd/QGNSd1vCu1I0eAEKRd0r9KS3E5I5RRj/m9XJfYCyTdy1cdn5Q==",
"type": "package", "type": "package",
@@ -3072,6 +3299,95 @@
"mono.texttemplating.nuspec" "mono.texttemplating.nuspec"
] ]
}, },
"SQLitePCLRaw.bundle_e_sqlite3/2.1.6": {
"sha512": "BmAf6XWt4TqtowmiWe4/5rRot6GerAeklmOPfviOvwLoF5WwgxcJHAxZtySuyW9r9w+HLILnm8VfJFLCUJYW8A==",
"type": "package",
"path": "sqlitepclraw.bundle_e_sqlite3/2.1.6",
"files": [
".nupkg.metadata",
".signature.p7s",
"lib/monoandroid90/SQLitePCLRaw.batteries_v2.dll",
"lib/net461/SQLitePCLRaw.batteries_v2.dll",
"lib/net6.0-android31.0/SQLitePCLRaw.batteries_v2.dll",
"lib/net6.0-android31.0/SQLitePCLRaw.batteries_v2.xml",
"lib/net6.0-ios14.0/SQLitePCLRaw.batteries_v2.dll",
"lib/net6.0-ios14.2/SQLitePCLRaw.batteries_v2.dll",
"lib/net6.0-tvos10.0/SQLitePCLRaw.batteries_v2.dll",
"lib/netstandard2.0/SQLitePCLRaw.batteries_v2.dll",
"lib/xamarinios10/SQLitePCLRaw.batteries_v2.dll",
"sqlitepclraw.bundle_e_sqlite3.2.1.6.nupkg.sha512",
"sqlitepclraw.bundle_e_sqlite3.nuspec"
]
},
"SQLitePCLRaw.core/2.1.6": {
"sha512": "wO6v9GeMx9CUngAet8hbO7xdm+M42p1XeJq47ogyRoYSvNSp0NGLI+MgC0bhrMk9C17MTVFlLiN6ylyExLCc5w==",
"type": "package",
"path": "sqlitepclraw.core/2.1.6",
"files": [
".nupkg.metadata",
".signature.p7s",
"lib/netstandard2.0/SQLitePCLRaw.core.dll",
"sqlitepclraw.core.2.1.6.nupkg.sha512",
"sqlitepclraw.core.nuspec"
]
},
"SQLitePCLRaw.lib.e_sqlite3/2.1.6": {
"sha512": "2ObJJLkIUIxRpOUlZNGuD4rICpBnrBR5anjyfUFQep4hMOIeqW+XGQYzrNmHSVz5xSWZ3klSbh7sFR6UyDj68Q==",
"type": "package",
"path": "sqlitepclraw.lib.e_sqlite3/2.1.6",
"files": [
".nupkg.metadata",
".signature.p7s",
"buildTransitive/net461/SQLitePCLRaw.lib.e_sqlite3.targets",
"buildTransitive/net6.0/SQLitePCLRaw.lib.e_sqlite3.targets",
"buildTransitive/net7.0/SQLitePCLRaw.lib.e_sqlite3.targets",
"buildTransitive/net8.0/SQLitePCLRaw.lib.e_sqlite3.targets",
"lib/net461/_._",
"lib/netstandard2.0/_._",
"runtimes/browser-wasm/nativeassets/net6.0/e_sqlite3.a",
"runtimes/browser-wasm/nativeassets/net7.0/e_sqlite3.a",
"runtimes/browser-wasm/nativeassets/net8.0/e_sqlite3.a",
"runtimes/linux-arm/native/libe_sqlite3.so",
"runtimes/linux-arm64/native/libe_sqlite3.so",
"runtimes/linux-armel/native/libe_sqlite3.so",
"runtimes/linux-mips64/native/libe_sqlite3.so",
"runtimes/linux-musl-arm/native/libe_sqlite3.so",
"runtimes/linux-musl-arm64/native/libe_sqlite3.so",
"runtimes/linux-musl-x64/native/libe_sqlite3.so",
"runtimes/linux-ppc64le/native/libe_sqlite3.so",
"runtimes/linux-s390x/native/libe_sqlite3.so",
"runtimes/linux-x64/native/libe_sqlite3.so",
"runtimes/linux-x86/native/libe_sqlite3.so",
"runtimes/maccatalyst-arm64/native/libe_sqlite3.dylib",
"runtimes/maccatalyst-x64/native/libe_sqlite3.dylib",
"runtimes/osx-arm64/native/libe_sqlite3.dylib",
"runtimes/osx-x64/native/libe_sqlite3.dylib",
"runtimes/win-arm/native/e_sqlite3.dll",
"runtimes/win-arm64/native/e_sqlite3.dll",
"runtimes/win-x64/native/e_sqlite3.dll",
"runtimes/win-x86/native/e_sqlite3.dll",
"runtimes/win10-arm/nativeassets/uap10.0/e_sqlite3.dll",
"runtimes/win10-arm64/nativeassets/uap10.0/e_sqlite3.dll",
"runtimes/win10-x64/nativeassets/uap10.0/e_sqlite3.dll",
"runtimes/win10-x86/nativeassets/uap10.0/e_sqlite3.dll",
"sqlitepclraw.lib.e_sqlite3.2.1.6.nupkg.sha512",
"sqlitepclraw.lib.e_sqlite3.nuspec"
]
},
"SQLitePCLRaw.provider.e_sqlite3/2.1.6": {
"sha512": "PQ2Oq3yepLY4P7ll145P3xtx2bX8xF4PzaKPRpw9jZlKvfe4LE/saAV82inND9usn1XRpmxXk7Lal3MTI+6CNg==",
"type": "package",
"path": "sqlitepclraw.provider.e_sqlite3/2.1.6",
"files": [
".nupkg.metadata",
".signature.p7s",
"lib/net6.0-windows7.0/SQLitePCLRaw.provider.e_sqlite3.dll",
"lib/net6.0/SQLitePCLRaw.provider.e_sqlite3.dll",
"lib/netstandard2.0/SQLitePCLRaw.provider.e_sqlite3.dll",
"sqlitepclraw.provider.e_sqlite3.2.1.6.nupkg.sha512",
"sqlitepclraw.provider.e_sqlite3.nuspec"
]
},
"System.CodeDom/4.4.0": { "System.CodeDom/4.4.0": {
"sha512": "2sCCb7doXEwtYAbqzbF/8UAeDRMNmPaQbU2q50Psg1J9KzumyVVCgKQY8s53WIPTufNT0DpSe9QRvVjOzfDWBA==", "sha512": "2sCCb7doXEwtYAbqzbF/8UAeDRMNmPaQbU2q50Psg1J9KzumyVVCgKQY8s53WIPTufNT0DpSe9QRvVjOzfDWBA==",
"type": "package", "type": "package",

View File

@@ -1,6 +1,6 @@
{ {
"version": 2, "version": 2,
"dgSpecHash": "RZQdbCeghbw=", "dgSpecHash": "gLAiGl4EbGM=",
"success": true, "success": true,
"projectFilePath": "C:\\Users\\fedpo\\source\\repos\\Final_Das\\Vista\\Vista.csproj", "projectFilePath": "C:\\Users\\fedpo\\source\\repos\\Final_Das\\Vista\\Vista.csproj",
"expectedPackageFiles": [ "expectedPackageFiles": [
@@ -16,11 +16,14 @@
"C:\\Users\\fedpo\\.nuget\\packages\\microsoft.csharp\\4.5.0\\microsoft.csharp.4.5.0.nupkg.sha512", "C:\\Users\\fedpo\\.nuget\\packages\\microsoft.csharp\\4.5.0\\microsoft.csharp.4.5.0.nupkg.sha512",
"C:\\Users\\fedpo\\.nuget\\packages\\microsoft.data.sqlclient\\5.1.5\\microsoft.data.sqlclient.5.1.5.nupkg.sha512", "C:\\Users\\fedpo\\.nuget\\packages\\microsoft.data.sqlclient\\5.1.5\\microsoft.data.sqlclient.5.1.5.nupkg.sha512",
"C:\\Users\\fedpo\\.nuget\\packages\\microsoft.data.sqlclient.sni.runtime\\5.1.1\\microsoft.data.sqlclient.sni.runtime.5.1.1.nupkg.sha512", "C:\\Users\\fedpo\\.nuget\\packages\\microsoft.data.sqlclient.sni.runtime\\5.1.1\\microsoft.data.sqlclient.sni.runtime.5.1.1.nupkg.sha512",
"C:\\Users\\fedpo\\.nuget\\packages\\microsoft.data.sqlite.core\\8.0.8\\microsoft.data.sqlite.core.8.0.8.nupkg.sha512",
"C:\\Users\\fedpo\\.nuget\\packages\\microsoft.entityframeworkcore\\8.0.8\\microsoft.entityframeworkcore.8.0.8.nupkg.sha512", "C:\\Users\\fedpo\\.nuget\\packages\\microsoft.entityframeworkcore\\8.0.8\\microsoft.entityframeworkcore.8.0.8.nupkg.sha512",
"C:\\Users\\fedpo\\.nuget\\packages\\microsoft.entityframeworkcore.abstractions\\8.0.8\\microsoft.entityframeworkcore.abstractions.8.0.8.nupkg.sha512", "C:\\Users\\fedpo\\.nuget\\packages\\microsoft.entityframeworkcore.abstractions\\8.0.8\\microsoft.entityframeworkcore.abstractions.8.0.8.nupkg.sha512",
"C:\\Users\\fedpo\\.nuget\\packages\\microsoft.entityframeworkcore.analyzers\\8.0.8\\microsoft.entityframeworkcore.analyzers.8.0.8.nupkg.sha512", "C:\\Users\\fedpo\\.nuget\\packages\\microsoft.entityframeworkcore.analyzers\\8.0.8\\microsoft.entityframeworkcore.analyzers.8.0.8.nupkg.sha512",
"C:\\Users\\fedpo\\.nuget\\packages\\microsoft.entityframeworkcore.design\\8.0.8\\microsoft.entityframeworkcore.design.8.0.8.nupkg.sha512", "C:\\Users\\fedpo\\.nuget\\packages\\microsoft.entityframeworkcore.design\\8.0.8\\microsoft.entityframeworkcore.design.8.0.8.nupkg.sha512",
"C:\\Users\\fedpo\\.nuget\\packages\\microsoft.entityframeworkcore.relational\\8.0.8\\microsoft.entityframeworkcore.relational.8.0.8.nupkg.sha512", "C:\\Users\\fedpo\\.nuget\\packages\\microsoft.entityframeworkcore.relational\\8.0.8\\microsoft.entityframeworkcore.relational.8.0.8.nupkg.sha512",
"C:\\Users\\fedpo\\.nuget\\packages\\microsoft.entityframeworkcore.sqlite\\8.0.8\\microsoft.entityframeworkcore.sqlite.8.0.8.nupkg.sha512",
"C:\\Users\\fedpo\\.nuget\\packages\\microsoft.entityframeworkcore.sqlite.core\\8.0.8\\microsoft.entityframeworkcore.sqlite.core.8.0.8.nupkg.sha512",
"C:\\Users\\fedpo\\.nuget\\packages\\microsoft.entityframeworkcore.sqlserver\\8.0.8\\microsoft.entityframeworkcore.sqlserver.8.0.8.nupkg.sha512", "C:\\Users\\fedpo\\.nuget\\packages\\microsoft.entityframeworkcore.sqlserver\\8.0.8\\microsoft.entityframeworkcore.sqlserver.8.0.8.nupkg.sha512",
"C:\\Users\\fedpo\\.nuget\\packages\\microsoft.extensions.caching.abstractions\\8.0.0\\microsoft.extensions.caching.abstractions.8.0.0.nupkg.sha512", "C:\\Users\\fedpo\\.nuget\\packages\\microsoft.extensions.caching.abstractions\\8.0.0\\microsoft.extensions.caching.abstractions.8.0.0.nupkg.sha512",
"C:\\Users\\fedpo\\.nuget\\packages\\microsoft.extensions.caching.memory\\8.0.0\\microsoft.extensions.caching.memory.8.0.0.nupkg.sha512", "C:\\Users\\fedpo\\.nuget\\packages\\microsoft.extensions.caching.memory\\8.0.0\\microsoft.extensions.caching.memory.8.0.0.nupkg.sha512",
@@ -47,6 +50,10 @@
"C:\\Users\\fedpo\\.nuget\\packages\\microsoft.web.webview2\\1.0.864.35\\microsoft.web.webview2.1.0.864.35.nupkg.sha512", "C:\\Users\\fedpo\\.nuget\\packages\\microsoft.web.webview2\\1.0.864.35\\microsoft.web.webview2.1.0.864.35.nupkg.sha512",
"C:\\Users\\fedpo\\.nuget\\packages\\microsoft.win32.systemevents\\6.0.0\\microsoft.win32.systemevents.6.0.0.nupkg.sha512", "C:\\Users\\fedpo\\.nuget\\packages\\microsoft.win32.systemevents\\6.0.0\\microsoft.win32.systemevents.6.0.0.nupkg.sha512",
"C:\\Users\\fedpo\\.nuget\\packages\\mono.texttemplating\\2.2.1\\mono.texttemplating.2.2.1.nupkg.sha512", "C:\\Users\\fedpo\\.nuget\\packages\\mono.texttemplating\\2.2.1\\mono.texttemplating.2.2.1.nupkg.sha512",
"C:\\Users\\fedpo\\.nuget\\packages\\sqlitepclraw.bundle_e_sqlite3\\2.1.6\\sqlitepclraw.bundle_e_sqlite3.2.1.6.nupkg.sha512",
"C:\\Users\\fedpo\\.nuget\\packages\\sqlitepclraw.core\\2.1.6\\sqlitepclraw.core.2.1.6.nupkg.sha512",
"C:\\Users\\fedpo\\.nuget\\packages\\sqlitepclraw.lib.e_sqlite3\\2.1.6\\sqlitepclraw.lib.e_sqlite3.2.1.6.nupkg.sha512",
"C:\\Users\\fedpo\\.nuget\\packages\\sqlitepclraw.provider.e_sqlite3\\2.1.6\\sqlitepclraw.provider.e_sqlite3.2.1.6.nupkg.sha512",
"C:\\Users\\fedpo\\.nuget\\packages\\system.codedom\\4.4.0\\system.codedom.4.4.0.nupkg.sha512", "C:\\Users\\fedpo\\.nuget\\packages\\system.codedom\\4.4.0\\system.codedom.4.4.0.nupkg.sha512",
"C:\\Users\\fedpo\\.nuget\\packages\\system.collections.immutable\\6.0.0\\system.collections.immutable.6.0.0.nupkg.sha512", "C:\\Users\\fedpo\\.nuget\\packages\\system.collections.immutable\\6.0.0\\system.collections.immutable.6.0.0.nupkg.sha512",
"C:\\Users\\fedpo\\.nuget\\packages\\system.composition\\6.0.0\\system.composition.6.0.0.nupkg.sha512", "C:\\Users\\fedpo\\.nuget\\packages\\system.composition\\6.0.0\\system.composition.6.0.0.nupkg.sha512",

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -25,8 +25,8 @@
"System.Diagnostics.DiagnosticSource": "6.0.1", "System.Diagnostics.DiagnosticSource": "6.0.1",
"System.Memory.Data": "1.0.2", "System.Memory.Data": "1.0.2",
"System.Numerics.Vectors": "4.5.0", "System.Numerics.Vectors": "4.5.0",
"System.Text.Encodings.Web": "6.0.0", "System.Text.Encodings.Web": "8.0.0",
"System.Text.Json": "4.7.2", "System.Text.Json": "8.0.4",
"System.Threading.Tasks.Extensions": "4.5.4" "System.Threading.Tasks.Extensions": "4.5.4"
}, },
"runtime": { "runtime": {
@@ -43,7 +43,7 @@
"Microsoft.Identity.Client.Extensions.Msal": "4.56.0", "Microsoft.Identity.Client.Extensions.Msal": "4.56.0",
"System.Memory": "4.5.4", "System.Memory": "4.5.4",
"System.Security.Cryptography.ProtectedData": "6.0.0", "System.Security.Cryptography.ProtectedData": "6.0.0",
"System.Text.Json": "4.7.2", "System.Text.Json": "8.0.4",
"System.Threading.Tasks.Extensions": "4.5.4" "System.Threading.Tasks.Extensions": "4.5.4"
}, },
"runtime": { "runtime": {
@@ -85,7 +85,7 @@
"System.Security.Cryptography.Cng": "5.0.0", "System.Security.Cryptography.Cng": "5.0.0",
"System.Security.Principal.Windows": "5.0.0", "System.Security.Principal.Windows": "5.0.0",
"System.Text.Encoding.CodePages": "6.0.0", "System.Text.Encoding.CodePages": "6.0.0",
"System.Text.Encodings.Web": "6.0.0" "System.Text.Encodings.Web": "8.0.0"
}, },
"runtime": { "runtime": {
"lib/net6.0/Microsoft.Data.SqlClient.dll": { "lib/net6.0/Microsoft.Data.SqlClient.dll": {
@@ -132,6 +132,17 @@
} }
} }
}, },
"Microsoft.Data.Sqlite.Core/8.0.8": {
"dependencies": {
"SQLitePCLRaw.core": "2.1.6"
},
"runtime": {
"lib/net8.0/Microsoft.Data.Sqlite.dll": {
"assemblyVersion": "8.0.8.0",
"fileVersion": "8.0.824.36704"
}
}
},
"Microsoft.EntityFrameworkCore/8.0.8": { "Microsoft.EntityFrameworkCore/8.0.8": {
"dependencies": { "dependencies": {
"Microsoft.EntityFrameworkCore.Abstractions": "8.0.8", "Microsoft.EntityFrameworkCore.Abstractions": "8.0.8",
@@ -167,6 +178,25 @@
} }
} }
}, },
"Microsoft.EntityFrameworkCore.Sqlite/8.0.8": {
"dependencies": {
"Microsoft.EntityFrameworkCore.Sqlite.Core": "8.0.8",
"SQLitePCLRaw.bundle_e_sqlite3": "2.1.6"
}
},
"Microsoft.EntityFrameworkCore.Sqlite.Core/8.0.8": {
"dependencies": {
"Microsoft.Data.Sqlite.Core": "8.0.8",
"Microsoft.EntityFrameworkCore.Relational": "8.0.8",
"Microsoft.Extensions.DependencyModel": "8.0.1"
},
"runtime": {
"lib/net8.0/Microsoft.EntityFrameworkCore.Sqlite.dll": {
"assemblyVersion": "8.0.8.0",
"fileVersion": "8.0.824.36704"
}
}
},
"Microsoft.EntityFrameworkCore.SqlServer/8.0.8": { "Microsoft.EntityFrameworkCore.SqlServer/8.0.8": {
"dependencies": { "dependencies": {
"Microsoft.Data.SqlClient": "5.1.5", "Microsoft.Data.SqlClient": "5.1.5",
@@ -235,6 +265,18 @@
} }
} }
}, },
"Microsoft.Extensions.DependencyModel/8.0.1": {
"dependencies": {
"System.Text.Encodings.Web": "8.0.0",
"System.Text.Json": "8.0.4"
},
"runtime": {
"lib/net8.0/Microsoft.Extensions.DependencyModel.dll": {
"assemblyVersion": "8.0.0.1",
"fileVersion": "8.0.724.31311"
}
}
},
"Microsoft.Extensions.Logging/8.0.0": { "Microsoft.Extensions.Logging/8.0.0": {
"dependencies": { "dependencies": {
"Microsoft.Extensions.DependencyInjection": "8.0.0", "Microsoft.Extensions.DependencyInjection": "8.0.0",
@@ -315,8 +357,8 @@
"dependencies": { "dependencies": {
"Microsoft.IdentityModel.Tokens": "6.35.0", "Microsoft.IdentityModel.Tokens": "6.35.0",
"System.Text.Encoding": "4.3.0", "System.Text.Encoding": "4.3.0",
"System.Text.Encodings.Web": "6.0.0", "System.Text.Encodings.Web": "8.0.0",
"System.Text.Json": "4.7.2" "System.Text.Json": "8.0.4"
}, },
"runtime": { "runtime": {
"lib/net6.0/Microsoft.IdentityModel.JsonWebTokens.dll": { "lib/net6.0/Microsoft.IdentityModel.JsonWebTokens.dll": {
@@ -673,6 +715,144 @@
}, },
"NUnit.Analyzers/4.3.0": {}, "NUnit.Analyzers/4.3.0": {},
"NUnit3TestAdapter/4.6.0": {}, "NUnit3TestAdapter/4.6.0": {},
"SQLitePCLRaw.bundle_e_sqlite3/2.1.6": {
"dependencies": {
"SQLitePCLRaw.lib.e_sqlite3": "2.1.6",
"SQLitePCLRaw.provider.e_sqlite3": "2.1.6"
},
"runtime": {
"lib/netstandard2.0/SQLitePCLRaw.batteries_v2.dll": {
"assemblyVersion": "2.1.6.2060",
"fileVersion": "2.1.6.2060"
}
}
},
"SQLitePCLRaw.core/2.1.6": {
"dependencies": {
"System.Memory": "4.5.4"
},
"runtime": {
"lib/netstandard2.0/SQLitePCLRaw.core.dll": {
"assemblyVersion": "2.1.6.2060",
"fileVersion": "2.1.6.2060"
}
}
},
"SQLitePCLRaw.lib.e_sqlite3/2.1.6": {
"runtimeTargets": {
"runtimes/browser-wasm/nativeassets/net8.0/e_sqlite3.a": {
"rid": "browser-wasm",
"assetType": "native",
"fileVersion": "0.0.0.0"
},
"runtimes/linux-arm/native/libe_sqlite3.so": {
"rid": "linux-arm",
"assetType": "native",
"fileVersion": "0.0.0.0"
},
"runtimes/linux-arm64/native/libe_sqlite3.so": {
"rid": "linux-arm64",
"assetType": "native",
"fileVersion": "0.0.0.0"
},
"runtimes/linux-armel/native/libe_sqlite3.so": {
"rid": "linux-armel",
"assetType": "native",
"fileVersion": "0.0.0.0"
},
"runtimes/linux-mips64/native/libe_sqlite3.so": {
"rid": "linux-mips64",
"assetType": "native",
"fileVersion": "0.0.0.0"
},
"runtimes/linux-musl-arm/native/libe_sqlite3.so": {
"rid": "linux-musl-arm",
"assetType": "native",
"fileVersion": "0.0.0.0"
},
"runtimes/linux-musl-arm64/native/libe_sqlite3.so": {
"rid": "linux-musl-arm64",
"assetType": "native",
"fileVersion": "0.0.0.0"
},
"runtimes/linux-musl-x64/native/libe_sqlite3.so": {
"rid": "linux-musl-x64",
"assetType": "native",
"fileVersion": "0.0.0.0"
},
"runtimes/linux-ppc64le/native/libe_sqlite3.so": {
"rid": "linux-ppc64le",
"assetType": "native",
"fileVersion": "0.0.0.0"
},
"runtimes/linux-s390x/native/libe_sqlite3.so": {
"rid": "linux-s390x",
"assetType": "native",
"fileVersion": "0.0.0.0"
},
"runtimes/linux-x64/native/libe_sqlite3.so": {
"rid": "linux-x64",
"assetType": "native",
"fileVersion": "0.0.0.0"
},
"runtimes/linux-x86/native/libe_sqlite3.so": {
"rid": "linux-x86",
"assetType": "native",
"fileVersion": "0.0.0.0"
},
"runtimes/maccatalyst-arm64/native/libe_sqlite3.dylib": {
"rid": "maccatalyst-arm64",
"assetType": "native",
"fileVersion": "0.0.0.0"
},
"runtimes/maccatalyst-x64/native/libe_sqlite3.dylib": {
"rid": "maccatalyst-x64",
"assetType": "native",
"fileVersion": "0.0.0.0"
},
"runtimes/osx-arm64/native/libe_sqlite3.dylib": {
"rid": "osx-arm64",
"assetType": "native",
"fileVersion": "0.0.0.0"
},
"runtimes/osx-x64/native/libe_sqlite3.dylib": {
"rid": "osx-x64",
"assetType": "native",
"fileVersion": "0.0.0.0"
},
"runtimes/win-arm/native/e_sqlite3.dll": {
"rid": "win-arm",
"assetType": "native",
"fileVersion": "0.0.0.0"
},
"runtimes/win-arm64/native/e_sqlite3.dll": {
"rid": "win-arm64",
"assetType": "native",
"fileVersion": "0.0.0.0"
},
"runtimes/win-x64/native/e_sqlite3.dll": {
"rid": "win-x64",
"assetType": "native",
"fileVersion": "0.0.0.0"
},
"runtimes/win-x86/native/e_sqlite3.dll": {
"rid": "win-x86",
"assetType": "native",
"fileVersion": "0.0.0.0"
}
}
},
"SQLitePCLRaw.provider.e_sqlite3/2.1.6": {
"dependencies": {
"SQLitePCLRaw.core": "2.1.6"
},
"runtime": {
"lib/net6.0/SQLitePCLRaw.provider.e_sqlite3.dll": {
"assemblyVersion": "2.1.6.2060",
"fileVersion": "2.1.6.2060"
}
}
},
"System.Configuration.ConfigurationManager/6.0.1": { "System.Configuration.ConfigurationManager/6.0.1": {
"dependencies": { "dependencies": {
"System.Security.Cryptography.ProtectedData": "6.0.0", "System.Security.Cryptography.ProtectedData": "6.0.0",
@@ -737,8 +917,8 @@
"System.Memory/4.5.4": {}, "System.Memory/4.5.4": {},
"System.Memory.Data/1.0.2": { "System.Memory.Data/1.0.2": {
"dependencies": { "dependencies": {
"System.Text.Encodings.Web": "6.0.0", "System.Text.Encodings.Web": "8.0.0",
"System.Text.Json": "4.7.2" "System.Text.Json": "8.0.4"
}, },
"runtime": { "runtime": {
"lib/netstandard2.0/System.Memory.Data.dll": { "lib/netstandard2.0/System.Memory.Data.dll": {
@@ -822,12 +1002,12 @@
"System.Runtime.CompilerServices.Unsafe": "6.0.0" "System.Runtime.CompilerServices.Unsafe": "6.0.0"
} }
}, },
"System.Text.Encodings.Web/6.0.0": { "System.Text.Encodings.Web/8.0.0": {},
"System.Text.Json/8.0.4": {
"dependencies": { "dependencies": {
"System.Runtime.CompilerServices.Unsafe": "6.0.0" "System.Text.Encodings.Web": "8.0.0"
} }
}, },
"System.Text.Json/4.7.2": {},
"System.Threading.Tasks.Extensions/4.5.4": {}, "System.Threading.Tasks.Extensions/4.5.4": {},
"System.Windows.Extensions/6.0.0": { "System.Windows.Extensions/6.0.0": {
"dependencies": { "dependencies": {
@@ -860,7 +1040,8 @@
"dependencies": { "dependencies": {
"Entidades": "1.0.0", "Entidades": "1.0.0",
"Microsoft.EntityFrameworkCore": "8.0.8", "Microsoft.EntityFrameworkCore": "8.0.8",
"Microsoft.EntityFrameworkCore.SqlServer": "8.0.8" "Microsoft.EntityFrameworkCore.SqlServer": "8.0.8",
"Microsoft.EntityFrameworkCore.Sqlite": "8.0.8"
}, },
"runtime": { "runtime": {
"Modelo.dll": { "Modelo.dll": {
@@ -933,6 +1114,13 @@
"path": "microsoft.data.sqlclient.sni.runtime/5.1.1", "path": "microsoft.data.sqlclient.sni.runtime/5.1.1",
"hashPath": "microsoft.data.sqlclient.sni.runtime.5.1.1.nupkg.sha512" "hashPath": "microsoft.data.sqlclient.sni.runtime.5.1.1.nupkg.sha512"
}, },
"Microsoft.Data.Sqlite.Core/8.0.8": {
"type": "package",
"serviceable": true,
"sha512": "sha512-qHInO2EvOcPhjgboP0TGnXM7rASdvWXrw6jAH8Yuz5YP82VTje7d/NKiX1i+dVbE3+G3JuW1kqNVB8yLvsqgYA==",
"path": "microsoft.data.sqlite.core/8.0.8",
"hashPath": "microsoft.data.sqlite.core.8.0.8.nupkg.sha512"
},
"Microsoft.EntityFrameworkCore/8.0.8": { "Microsoft.EntityFrameworkCore/8.0.8": {
"type": "package", "type": "package",
"serviceable": true, "serviceable": true,
@@ -961,6 +1149,20 @@
"path": "microsoft.entityframeworkcore.relational/8.0.8", "path": "microsoft.entityframeworkcore.relational/8.0.8",
"hashPath": "microsoft.entityframeworkcore.relational.8.0.8.nupkg.sha512" "hashPath": "microsoft.entityframeworkcore.relational.8.0.8.nupkg.sha512"
}, },
"Microsoft.EntityFrameworkCore.Sqlite/8.0.8": {
"type": "package",
"serviceable": true,
"sha512": "sha512-IDB7Xs16hN/3VkWFCCa4r3fqoJxMVezwq418gr8dBkRBO0pxH+BX/Kjk/U3PYXDvzVLkXqUgJsHv1XoFrJbZPQ==",
"path": "microsoft.entityframeworkcore.sqlite/8.0.8",
"hashPath": "microsoft.entityframeworkcore.sqlite.8.0.8.nupkg.sha512"
},
"Microsoft.EntityFrameworkCore.Sqlite.Core/8.0.8": {
"type": "package",
"serviceable": true,
"sha512": "sha512-w5k/ENj3+BPbmggqh83RRuPhhKcJmW7CmdJuGwdX1eFrmptJwnzKiHfQCPkJAu9df16PSs5YFeWrDgepfqnltA==",
"path": "microsoft.entityframeworkcore.sqlite.core/8.0.8",
"hashPath": "microsoft.entityframeworkcore.sqlite.core.8.0.8.nupkg.sha512"
},
"Microsoft.EntityFrameworkCore.SqlServer/8.0.8": { "Microsoft.EntityFrameworkCore.SqlServer/8.0.8": {
"type": "package", "type": "package",
"serviceable": true, "serviceable": true,
@@ -1003,6 +1205,13 @@
"path": "microsoft.extensions.dependencyinjection.abstractions/8.0.0", "path": "microsoft.extensions.dependencyinjection.abstractions/8.0.0",
"hashPath": "microsoft.extensions.dependencyinjection.abstractions.8.0.0.nupkg.sha512" "hashPath": "microsoft.extensions.dependencyinjection.abstractions.8.0.0.nupkg.sha512"
}, },
"Microsoft.Extensions.DependencyModel/8.0.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-5Ou6varcxLBzQ+Agfm0k0pnH7vrEITYlXMDuE6s7ZHlZHz6/G8XJ3iISZDr5rfwfge6RnXJ1+Wc479mMn52vjA==",
"path": "microsoft.extensions.dependencymodel/8.0.1",
"hashPath": "microsoft.extensions.dependencymodel.8.0.1.nupkg.sha512"
},
"Microsoft.Extensions.Logging/8.0.0": { "Microsoft.Extensions.Logging/8.0.0": {
"type": "package", "type": "package",
"serviceable": true, "serviceable": true,
@@ -1164,6 +1373,34 @@
"path": "nunit3testadapter/4.6.0", "path": "nunit3testadapter/4.6.0",
"hashPath": "nunit3testadapter.4.6.0.nupkg.sha512" "hashPath": "nunit3testadapter.4.6.0.nupkg.sha512"
}, },
"SQLitePCLRaw.bundle_e_sqlite3/2.1.6": {
"type": "package",
"serviceable": true,
"sha512": "sha512-BmAf6XWt4TqtowmiWe4/5rRot6GerAeklmOPfviOvwLoF5WwgxcJHAxZtySuyW9r9w+HLILnm8VfJFLCUJYW8A==",
"path": "sqlitepclraw.bundle_e_sqlite3/2.1.6",
"hashPath": "sqlitepclraw.bundle_e_sqlite3.2.1.6.nupkg.sha512"
},
"SQLitePCLRaw.core/2.1.6": {
"type": "package",
"serviceable": true,
"sha512": "sha512-wO6v9GeMx9CUngAet8hbO7xdm+M42p1XeJq47ogyRoYSvNSp0NGLI+MgC0bhrMk9C17MTVFlLiN6ylyExLCc5w==",
"path": "sqlitepclraw.core/2.1.6",
"hashPath": "sqlitepclraw.core.2.1.6.nupkg.sha512"
},
"SQLitePCLRaw.lib.e_sqlite3/2.1.6": {
"type": "package",
"serviceable": true,
"sha512": "sha512-2ObJJLkIUIxRpOUlZNGuD4rICpBnrBR5anjyfUFQep4hMOIeqW+XGQYzrNmHSVz5xSWZ3klSbh7sFR6UyDj68Q==",
"path": "sqlitepclraw.lib.e_sqlite3/2.1.6",
"hashPath": "sqlitepclraw.lib.e_sqlite3.2.1.6.nupkg.sha512"
},
"SQLitePCLRaw.provider.e_sqlite3/2.1.6": {
"type": "package",
"serviceable": true,
"sha512": "sha512-PQ2Oq3yepLY4P7ll145P3xtx2bX8xF4PzaKPRpw9jZlKvfe4LE/saAV82inND9usn1XRpmxXk7Lal3MTI+6CNg==",
"path": "sqlitepclraw.provider.e_sqlite3/2.1.6",
"hashPath": "sqlitepclraw.provider.e_sqlite3.2.1.6.nupkg.sha512"
},
"System.Configuration.ConfigurationManager/6.0.1": { "System.Configuration.ConfigurationManager/6.0.1": {
"type": "package", "type": "package",
"serviceable": true, "serviceable": true,
@@ -1304,19 +1541,19 @@
"path": "system.text.encoding.codepages/6.0.0", "path": "system.text.encoding.codepages/6.0.0",
"hashPath": "system.text.encoding.codepages.6.0.0.nupkg.sha512" "hashPath": "system.text.encoding.codepages.6.0.0.nupkg.sha512"
}, },
"System.Text.Encodings.Web/6.0.0": { "System.Text.Encodings.Web/8.0.0": {
"type": "package", "type": "package",
"serviceable": true, "serviceable": true,
"sha512": "sha512-Vg8eB5Tawm1IFqj4TVK1czJX89rhFxJo9ELqc/Eiq0eXy13RK00eubyU6TJE6y+GQXjyV5gSfiewDUZjQgSE0w==", "sha512": "sha512-yev/k9GHAEGx2Rg3/tU6MQh4HGBXJs70y7j1LaM1i/ER9po+6nnQ6RRqTJn1E7Xu0fbIFK80Nh5EoODxrbxwBQ==",
"path": "system.text.encodings.web/6.0.0", "path": "system.text.encodings.web/8.0.0",
"hashPath": "system.text.encodings.web.6.0.0.nupkg.sha512" "hashPath": "system.text.encodings.web.8.0.0.nupkg.sha512"
}, },
"System.Text.Json/4.7.2": { "System.Text.Json/8.0.4": {
"type": "package", "type": "package",
"serviceable": true, "serviceable": true,
"sha512": "sha512-TcMd95wcrubm9nHvJEQs70rC0H/8omiSGGpU4FQ/ZA1URIqD4pjmFJh2Mfv1yH1eHgJDWTi2hMDXwTET+zOOyg==", "sha512": "sha512-bAkhgDJ88XTsqczoxEMliSrpijKZHhbJQldhAmObj/RbrN3sU5dcokuXmWJWsdQAhiMJ9bTayWsL1C9fbbCRhw==",
"path": "system.text.json/4.7.2", "path": "system.text.json/8.0.4",
"hashPath": "system.text.json.4.7.2.nupkg.sha512" "hashPath": "system.text.json.8.0.4.nupkg.sha512"
}, },
"System.Threading.Tasks.Extensions/4.5.4": { "System.Threading.Tasks.Extensions/4.5.4": {
"type": "package", "type": "package",

Binary file not shown.

Binary file not shown.

View File

@@ -14,7 +14,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("testing")] [assembly: System.Reflection.AssemblyCompanyAttribute("testing")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+c15ae743ab4e6f1c270349cbe1eadde8c6404874")] [assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+393caac989bc21fa565a3f37f2db36fec8e62f3b")]
[assembly: System.Reflection.AssemblyProductAttribute("testing")] [assembly: System.Reflection.AssemblyProductAttribute("testing")]
[assembly: System.Reflection.AssemblyTitleAttribute("testing")] [assembly: System.Reflection.AssemblyTitleAttribute("testing")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]

View File

@@ -1 +1 @@
61c944394d80796eab68c80421f3d70d87e7c76b24136ff08a133fa8b31e15fa 44505325d713c4e34fbd482fe5605c51a1e1d88b38aa7fb13c0c45363244a32f

View File

@@ -1 +1 @@
166e5c30706d1e63f7ccc614b81f88058752b8904f9b5eae500b3e0dd4eabef7 9374421611809f29d5a891e9c02e3f0e7c4526c1fce4b339f64d0ec8b6da1b7b

View File

@@ -157,3 +157,29 @@ C:\Users\fedpo\source\repos\Final_Das\testing\obj\Debug\net8.0\refint\testing.dl
C:\Users\fedpo\source\repos\Final_Das\testing\obj\Debug\net8.0\testing.pdb C:\Users\fedpo\source\repos\Final_Das\testing\obj\Debug\net8.0\testing.pdb
C:\Users\fedpo\source\repos\Final_Das\testing\obj\Debug\net8.0\testing.genruntimeconfig.cache C:\Users\fedpo\source\repos\Final_Das\testing\obj\Debug\net8.0\testing.genruntimeconfig.cache
C:\Users\fedpo\source\repos\Final_Das\testing\obj\Debug\net8.0\ref\testing.dll C:\Users\fedpo\source\repos\Final_Das\testing\obj\Debug\net8.0\ref\testing.dll
C:\Users\fedpo\source\repos\Final_Das\testing\bin\Debug\net8.0\Microsoft.Data.Sqlite.dll
C:\Users\fedpo\source\repos\Final_Das\testing\bin\Debug\net8.0\Microsoft.EntityFrameworkCore.Sqlite.dll
C:\Users\fedpo\source\repos\Final_Das\testing\bin\Debug\net8.0\Microsoft.Extensions.DependencyModel.dll
C:\Users\fedpo\source\repos\Final_Das\testing\bin\Debug\net8.0\SQLitePCLRaw.batteries_v2.dll
C:\Users\fedpo\source\repos\Final_Das\testing\bin\Debug\net8.0\SQLitePCLRaw.core.dll
C:\Users\fedpo\source\repos\Final_Das\testing\bin\Debug\net8.0\SQLitePCLRaw.provider.e_sqlite3.dll
C:\Users\fedpo\source\repos\Final_Das\testing\bin\Debug\net8.0\runtimes\browser-wasm\nativeassets\net8.0\e_sqlite3.a
C:\Users\fedpo\source\repos\Final_Das\testing\bin\Debug\net8.0\runtimes\linux-arm\native\libe_sqlite3.so
C:\Users\fedpo\source\repos\Final_Das\testing\bin\Debug\net8.0\runtimes\linux-arm64\native\libe_sqlite3.so
C:\Users\fedpo\source\repos\Final_Das\testing\bin\Debug\net8.0\runtimes\linux-armel\native\libe_sqlite3.so
C:\Users\fedpo\source\repos\Final_Das\testing\bin\Debug\net8.0\runtimes\linux-mips64\native\libe_sqlite3.so
C:\Users\fedpo\source\repos\Final_Das\testing\bin\Debug\net8.0\runtimes\linux-musl-arm\native\libe_sqlite3.so
C:\Users\fedpo\source\repos\Final_Das\testing\bin\Debug\net8.0\runtimes\linux-musl-arm64\native\libe_sqlite3.so
C:\Users\fedpo\source\repos\Final_Das\testing\bin\Debug\net8.0\runtimes\linux-musl-x64\native\libe_sqlite3.so
C:\Users\fedpo\source\repos\Final_Das\testing\bin\Debug\net8.0\runtimes\linux-ppc64le\native\libe_sqlite3.so
C:\Users\fedpo\source\repos\Final_Das\testing\bin\Debug\net8.0\runtimes\linux-s390x\native\libe_sqlite3.so
C:\Users\fedpo\source\repos\Final_Das\testing\bin\Debug\net8.0\runtimes\linux-x64\native\libe_sqlite3.so
C:\Users\fedpo\source\repos\Final_Das\testing\bin\Debug\net8.0\runtimes\linux-x86\native\libe_sqlite3.so
C:\Users\fedpo\source\repos\Final_Das\testing\bin\Debug\net8.0\runtimes\maccatalyst-arm64\native\libe_sqlite3.dylib
C:\Users\fedpo\source\repos\Final_Das\testing\bin\Debug\net8.0\runtimes\maccatalyst-x64\native\libe_sqlite3.dylib
C:\Users\fedpo\source\repos\Final_Das\testing\bin\Debug\net8.0\runtimes\osx-arm64\native\libe_sqlite3.dylib
C:\Users\fedpo\source\repos\Final_Das\testing\bin\Debug\net8.0\runtimes\osx-x64\native\libe_sqlite3.dylib
C:\Users\fedpo\source\repos\Final_Das\testing\bin\Debug\net8.0\runtimes\win-arm\native\e_sqlite3.dll
C:\Users\fedpo\source\repos\Final_Das\testing\bin\Debug\net8.0\runtimes\win-arm64\native\e_sqlite3.dll
C:\Users\fedpo\source\repos\Final_Das\testing\bin\Debug\net8.0\runtimes\win-x64\native\e_sqlite3.dll
C:\Users\fedpo\source\repos\Final_Das\testing\bin\Debug\net8.0\runtimes\win-x86\native\e_sqlite3.dll

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More