コード例 #1
0
        } // Map function closer

        public List <SqlParameter> MapParamsForUpsert(EntityEntityData entity) => new List <SqlParameter>
        {
            new SqlParameter("@entity_entity_key", entity.EntityEntityKey),
            new SqlParameter("@primary_entity_key", entity.PrimaryEntityKey),
            new SqlParameter("@primary_entity_type_key", entity.PrimaryEntityTypeKey),
            new SqlParameter("@primary_entity_role_key", entity.PrimaryEntityRoleKey),
            new SqlParameter("@secondary_entity_key", entity.SecondaryEntityKey),
            new SqlParameter("@secondary_entity_type_key", entity.SecondaryEntityTypeKey),
            new SqlParameter("@secondary_entity_role_key", entity.SecondaryEntityRoleKey),
            new SqlParameter("@entity_entity_seq", entity.EntityEntitySeq),
            new SqlParameter("@start_date", entity.StartDate),
            new SqlParameter("@end_date", entity.EndDate),
            new SqlParameter("@comment", entity.Comment),
            GetOutParam()
        };
コード例 #2
0
 public List <SqlParameter> MapParamsForDelete(EntityEntityData entity) => MapParamsForDelete(entity.EntityEntityKey);