Create a layer with proper linetype and lineweight

Hi,
I'm trying to setup (with c#) some layers in a doc and I'm struggling to enable a linetype and a lineweight by their name/value.

For LightWeight I was happy to find some two functions:

bool Database.IsValidLineWeight(short weight)
LineWeight Database.GetNearestLineWeight(short weight)

but both are raising a Not Implemented yet exception :/

Concerning the LineType I'm trying to set it by the linetype name, I'd expect something like:

ObjectID Database.GetLinetype("BORDER")

But I have no Idea about how it should be done

I really dont' get how such simple tasks can be so complicated, I hope someone can provide some proper samples.
Thanks