Exemple #1
0
                    public static SqlResult FromBaseObject(BaseObject baseObj)
                    {
                        if (baseObj == null || baseObj.NativeObject == IntPtr.Zero)
                        {
                            return(null);
                        }
                        SqlResult obj = baseObj as  SqlResult;

                        if (object.Equals(obj, null))
                        {
                            obj = new SqlResult(CreatedWhenConstruct.CWC_NotToCreate);
                            obj.BindNativeObject(baseObj.NativeObject, "CSqlResult");
                            obj.IncreaseCast();
                        }

                        return(obj);
                    }