Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
W

WiiMaxx

@WiiMaxx
About
Posts
1
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • DataSet does not support System.Nullable
    W WiiMaxx

    instead of your

    if (propType.IsGenericType &&
    propType.GetGenericTypeDefinition() == typeof(Nullable<>))
    {
    propType = Nullable.GetUnderlyingType(propType);
    }

    you could also do

    column.DataType = Nullable.GetUnderlyingType(PropertyType) ?? PropertyType;

    depending on your knowledge about the ?? operator and your preferences it could improve the readability

    C# java business help question learning
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups