コード例 #1
0
ファイル: StructMapper.cs プロジェクト: usausa/Work-Net-Data
        public static ValueTuple <StructMasterEntity?, StructSlaveEntity?> MapValueNullable()
        {
            var master = new StructMasterEntity();

            master.Id = 0;
            var slave = new StructSlaveEntity();

            slave.Id = 0;
            return(new ValueTuple <StructMasterEntity, StructSlaveEntity>(master, slave));
        }
コード例 #2
0
ファイル: StructMapper.cs プロジェクト: usausa/Work-Net-Data
        public static Tuple <StructMasterEntity, StructSlaveEntity> Map()
        {
            var master = new StructMasterEntity();

            master.Id = 0;
            var slave = new StructSlaveEntity();

            slave.Id = 0;
            return(new Tuple <StructMasterEntity, StructSlaveEntity>(master, slave));
        }