-
Notifications
You must be signed in to change notification settings - Fork 0
Example.UncomparableStructPack‐3
IzayoiJiichan edited this page Feb 1, 2025
·
1 revision
using Izayoi.Data.Packs;
using System;
public class Example()
{
public void Method1()
{
UncomparableStructPack<int, int, int> pack1 = new(1, 2, 3);
UncomparableStructPack<bool, byte, short> pack2 = new(true, 2, 3);
}
public void Method2()
{
// NG
//UncomparableStructPack<int, int, int?> pack = new(1, 2, null);
// NG
//UncomparableStructPack<int, int, System.Nullable<int>> pack = new(1, 2, null);
}
public void Method3()
{
UncomparableStructPack<int, int, int> pack1 = new(1, 2, 3);
UncomparableStructPack<int, int, int> pack2 = new(1, 2, 3);
// deprecated
if (pack1 == pack2)
{
// true
}
}
}
- Izayoi.Data
- Izayoi.Data.Query
- Izayoi.Data.Repository
- Izayoi.Data.Comparable
- Izayoi.Data.Packs
- Izayoi.Data.TimestampedObjects
- Izayoi.Data.Validation
Examples
- Database
- Map Class
- DbCommandAdapter
- DbDataMapper
- QueryOption
- QueryBuilder
- DbRepository
- Comparable
- Packs
- Timestamped Objects
- DataValidator
FAQ