LibNetCore 1.2.0
See the version list below for details.
dotnet add package LibNetCore --version 1.2.0
NuGet\Install-Package LibNetCore -Version 1.2.0
<PackageReference Include="LibNetCore" Version="1.2.0" />
<PackageVersion Include="LibNetCore" Version="1.2.0" />
<PackageReference Include="LibNetCore" />
paket add LibNetCore --version 1.2.0
#r "nuget: LibNetCore, 1.2.0"
#:package LibNetCore@1.2.0
#addin nuget:?package=LibNetCore&version=1.2.0
#tool nuget:?package=LibNetCore&version=1.2.0
Bổ xung thêm xử lý dữ liệu với Oracle.
Khai báo sử dụng với Oracle được định nghĩa trong appsettings.json như sau
"Conect": { "LOAI": "ORA", (ORA - Oracle, SQL là SQL server, MYSQL là db MySQL, COMPAC là SQL COMPAC "DBO": "Tên schema để thao tác dữ liệu", "IPSERVER": "localhost", "DB_NAME": "Schema để kết nối", "USER": "tài khoản", "PW": "mật khẩu", "PARA": "0" (0- là mặc dinh không tham số, 1 là tham số là mã đơn vị, 2 là mã đơn vị, mã tài khoản, acton controller ) },
- Bổ xung thêm OracleDynamicParameters
Ví dụ:
var paramater = new OracleDynamicParameters(); paramater.Add("p_nsd", OracleDbType.Varchar2, ParameterDirection.Input, userName); paramater.Add("p_mk", OracleDbType.Varchar2, ParameterDirection.Input, matKhau); paramater.Add("cs", OracleDbType.RefCursor, ParameterDirection.Output);
return await _dbHelper.ExecuteProcedureAsyn<NguoiDung>(storeProcedure: HeThongStore.HETHONG_DANGNHAP, paramater);
- Thay đổi khác.
- Chỉnh sủa grid, select2, vue-txt trong xử lý date, time, money. Js base On trên Vuejs 2.17.
Khai báo để sử dụng control js. trong programe tao khai báo thêm để sử dụng.
builder.Services.AddConfigService(); builder.Services.AddAntiforgery(builder ⇒ builder.HeaderName = "X-XSRF-TOKEN");
app.UseConfig();
Trong file _layout.cshtml thêm đăng ký js
Trong header file:
@Html.RegisterCssFromResource()
@Html.RegisterJsFromResource()
Ví dụ grid khai báo:
<grid id="gridBoPhan" ref="gridBoPhan" v-bind:columns="cols" v-bind:config="option" height="500px"> </grid>
<vue-txt id="Ten" focus placeholder="Tên bộ phận" v-model="duLieu.TEN" dataType="String" title="Tên bộ phận" required="true"> </vue-txt>
var Vuejs = createApp({ setup: function (props, ctx) {
const cols = reactive([
{ id: "Ten", name: "Tên", field: "TEN", minWidth: 300 , filterType: "text" },
{ id: "Chon", name: "Thao tác", field: "CHON", minWidth: 80, formatter: AddButton, filterType: "none" }
]);
const option = reactive({
pageSize: 15,
paging: "scroll",
filter: true,
});
const duLieu = reactive({ TrangThai: 'C', Ten: '', MoTa: '' });
onMounted(() => {
});
return {
cols, duLieu, option,
ThemMoiBoPhan, LuulaiThongTin
}
}
}).mount('#bophan');
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net7.0
- Dapper (>= 2.0.123)
- Microsoft.Extensions.DependencyInjection (>= 7.0.0)
- Newtonsoft.Json (>= 13.0.3)
- NPOI (>= 2.6.0)
- Oracle.ManagedDataAccess.Core (>= 3.21.90)
- ReportViewerCore.NETCore (>= 15.1.17)
- System.Data.SqlClient (>= 4.8.5)
- System.Drawing.Common (>= 7.0.0)
- System.IdentityModel.Tokens.Jwt (>= 6.28.1)
- System.Text.Encoding.Extensions (>= 4.3.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.