MSFrame 1.1.1
See the version list below for details.
dotnet add package MSFrame --version 1.1.1
NuGet\Install-Package MSFrame -Version 1.1.1
<PackageReference Include="MSFrame" Version="1.1.1" />
paket add MSFrame --version 1.1.1
#r "nuget: MSFrame, 1.1.1"
// Install MSFrame as a Cake Addin #addin nuget:?package=MSFrame&version=1.1.1 // Install MSFrame as a Cake Tool #tool nuget:?package=MSFrame&version=1.1.1
using System; using System.Data; using System.Collections.Generic; using MSFrame; namespace Enterprise.Base
{ #region TBConfigBase public partial class TBConfigBase : BaseCore { #region Base public bool Exists(string ID) { OQL q = new OQL(); q.Add(TBConfigModel.Fields.ID, ID); return ORMUtil.Exists<TBConfigModel>(q); } public bool Exists(OQL q) { return ORMUtil.Exists<TBConfigModel>(q); } public int GetCount(OQL q) { return ORMUtil.GetCount<TBConfigModel>(q); } public object GetScalar(OQL q) { return ORMUtil.GetScalar<TBConfigModel>(q); } public string GetScalarString(OQL q) { return StringPlus.Get(ORMUtil.GetScalar<TBConfigModel>(q)); } public bool Insert(TBConfigModel model, bool debug = false) { return ORMUtil.Insert<TBConfigModel>(model, debug); } public bool Update(TBConfigModel model, bool debug = false) { return ORMUtil.Update<TBConfigModel>(model, debug); } public bool Update(OQL q) { return ORMUtil.Update<TBConfigModel>(q); } public bool Delete(TBConfigModel model, bool debug = false) { return ORMUtil.Delete<TBConfigModel>(model, debug); } public bool Delete(string ID) { OQL q = new OQL(); q.Add(TBConfigModel.Fields.ID, ID); return ORMUtil.Delete<TBConfigModel>(q); } public bool Delete(OQL q) { return ORMUtil.Delete<TBConfigModel>(q); } public TBConfigModel GetModel(string ID) { OQL q = new OQL(); q.Add(TBConfigModel.Fields.ID, ID); return ORMUtil.GetModel<TBConfigModel>(q); } public TBConfigModel GetModel(OQL q) { return ORMUtil.GetModel<TBConfigModel>(q); } public List<TBConfigModel> GetList(OQL q) { return ORMUtil.GetList<TBConfigModel>(q); } public List<TBConfigModel> GetList(DataTable dt) { return ORMUtil.GetList<TBConfigModel>(dt); } public List<TBConfigModel> GetPageList(OQL q) { return ORMUtil.GetPageList<TBConfigModel>(q); }
public DataTable GetDataTable(OQL q)
{
return ORMUtil.GetDataTable<TBConfigModel>(q);
}
public DataTable GetPageDataTable(OQL q)
{
return ORMUtil.GetPageDataTable<TBConfigModel>(q);
}
public DataTable GetPageTable(OQL q)
{
return ORMUtil.GetPageTable<TBConfigModel>(q);
}
#endregion
}
#endregion
#region TBConfigModel
[TableAttr(Name = "TBConfig", PrimaryKey = "ID", Description = "")]
public class TBConfigModel : BaseModel
{
#region TBConfigFields
public class Fields
{
public const string Table = "TBConfig";
/// <summary>
/// ID
/// </summary>
public const string ID = "ID";
/// <summary>
/// LocationID
/// </summary>
public const string LocationID = "LocationID";
}
#endregion
private String _id = "";
/// <summary>
/// ID
/// </summary>
[FieldAttr(Name = "ID", IsKey = true, Length = 20, IsRequire = true, DbType = "nvarchar", Description = "ID", IsIdentity = false, DefaultValue = "")]
public String ID
{
get { return _id; }
set
{
_id = value;
Set("ID");
}
}
private String _locationid = "";
/// <summary>
/// LocationID
/// </summary>
[FieldAttr(Name = "LocationID", IsKey = false, Length = 20, IsRequire = false, DbType = "nvarchar", Description = "LocationID", IsIdentity = false, DefaultValue = "")]
public String LocationID
{
get { return _locationid; }
set
{
_locationid = value;
Set("LocationID");
}
}
}
#endregion
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net461 is compatible. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
- ICSharpCode.SharpZipLib.dll (>= 0.85.4.369)
- MySql.Data (>= 8.0.22)
- Newtonsoft.Json (>= 12.0.3)
- StackExchange.Redis (>= 2.2.4)
- System.Buffers (>= 4.5.1)
- System.Data.SQLite (>= 1.0.113.7)
- System.Memory (>= 4.5.4)
- System.Numerics.Vectors (>= 4.5.0)
- ThoughtWorks.QRCode (>= 1.1.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.2.5 | 465 | 3/29/2022 |
1.2.4 | 429 | 2/23/2022 |
1.2.3 | 414 | 2/22/2022 |
1.2.2 | 414 | 2/18/2022 |
1.2.1 | 440 | 2/18/2022 |
1.2.0 | 445 | 1/26/2022 |
1.1.9 | 441 | 1/20/2022 |
1.1.8 | 427 | 1/7/2022 |
1.1.7 | 451 | 1/4/2022 |
1.1.6 | 281 | 12/27/2021 |
1.1.5 | 262 | 12/27/2021 |
1.1.4 | 286 | 12/14/2021 |
1.1.3 | 333 | 12/8/2021 |
1.1.2 | 316 | 12/8/2021 |
1.1.1 | 314 | 12/8/2021 |
1.1.0 | 303 | 12/8/2021 |
1.0.0 | 333 | 12/8/2021 |
MSFrame,Contains ORM,Utilty